|
@@ -96,7 +96,7 @@
|
|
|
|
|
|
{{/* We cannot use SRI with Google Fonts because the CSS is dynamically generated according to the user agent. */}}
|
|
|
{{ with ($scr.Get "google_fonts") }}
|
|
|
- <link rel="stylesheet" {{ printf "href=\"https://fonts.googleapis.com/css?family=%s&display=swap\"" . | safeHTMLAttr }}>
|
|
|
+ <link rel="stylesheet" {{ printf "href=\"https://fonts.googleapis.com/css?family=%s&display=swap\"" (htmlEscape .) | safeHTMLAttr }}>
|
|
|
{{ end }}
|
|
|
|
|
|
{{ $css_options := (dict "targetPath" "css/academic.css" "outputStyle" "compressed") }}
|
|
@@ -135,8 +135,7 @@
|
|
|
{{ end }}
|
|
|
|
|
|
{{ with .OutputFormats.Get "RSS" }}
|
|
|
- <link rel="alternate" href="{{ .RelPermalink }}" type="application/rss+xml" title="{{ site.Title }}">
|
|
|
- <link rel="feed" href="{{ .RelPermalink }}" type="application/rss+xml" title="{{ site.Title }}">
|
|
|
+ <link rel="alternate" href="{{.RelPermalink}}" type="application/rss+xml" title="{{site.Title}}">
|
|
|
{{ end }}
|
|
|
|
|
|
<link rel="manifest" href="{{ "site.webmanifest" | relURL }}">
|