mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-06 00:14:33 +00:00
1 parent
a8c4f887e5
commit
ac5dcd9dc4
2 files changed
+3
-4
No files matched your search
@@ -14,7 +14,7 @@
|
||||
<div id="search-box">
|
||||
{{ if eq site.Params.search.engine 1 }}
|
||||
<input name="q" id="search-query" placeholder="{{i18n "search_placeholder"}}" autocapitalize="off"
|
||||
autocomplete="off" autocorrect="off" role="textbox" spellcheck="false" type="search">
|
||||
autocomplete="off" autocorrect="off" spellcheck="false" type="search">
|
||||
{{ else }}
|
||||
<!-- Search box will appear here -->
|
||||
{{ end }}
|
||||
|
||||
@@ -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 }}">
|
||||
|
||||
Reference in new issue
Block a user