mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 18:15:31 +00:00
Rename sri.toml to assets.toml
This commit is contained in:
1 parent
bb3adc1781
commit
54dac71022
3 files changed
+2
-2
No files matched your search
File renamed without changes.
@@ -1,4 +1,4 @@
|
||||
{{ $js := .Site.Data.sri.js }}
|
||||
{{ $js := .Site.Data.assets.js }}
|
||||
|
||||
{{ $comments_enabled := and $.Site.DisqusShortname (not (or $.Site.Params.disable_comments $.Params.disable_comments)) }}
|
||||
{{ if and $comments_enabled ($.Site.Params.comment_count | default true) }}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<link rel="alternate" hreflang="{{ .Site.LanguageCode | default "en-us" }}" href="{{ .Permalink }}">
|
||||
|
||||
{{ partial "css/parse_theme.css" . }}
|
||||
{{ $sri := .Site.Data.sri }}
|
||||
{{ $sri := .Site.Data.assets }}
|
||||
{{ if ne ($scr.Get "primary") "#fff" }}
|
||||
<meta name="theme-color" content="{{ $scr.Get "primary" }}">
|
||||
{{ end }}
|
||||
|
||||
Reference in new issue
Block a user