diff options
author | de-souza <43355143+de-souza@users.noreply.github.com> | 2019-08-26 20:49:48 +0300 |
---|---|---|
committer | de-souza <43355143+de-souza@users.noreply.github.com> | 2019-08-26 20:49:48 +0300 |
commit | 79a3fbfcba5afe3e93e33976f5bcf3c8a140a030 (patch) | |
tree | 86fbe9563921bf8f23d56135403348d9afbf0542 /layouts/_default/baseof.html | |
parent | d760059652a547120b52f32020ca6cf8e803e36f (diff) |
Minor changes to improve readability
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9f1256f..e19e0ee 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -19,10 +19,12 @@ {{ printf "<link rel=%q type=%q href=%q title=%q>" .Rel .MediaType.Type .Permalink site.Title | safeHTML }} {{ end }} {{ resources.Get "css/base.temp.css" | resources.ExecuteAsTemplate "css/base.css" . | minify | fingerprint | .Page.Scratch.SetInMap "css" "base" }} - {{/* In the following block, Hugo is forced to stop and pre-render the + {{/* + In the following block, Hugo is forced to stop and pre-render the content of the current page with all its shortcodes. Thanks to this pre-render, shortcodes can be used to load additional resources - through the .Scratch variable. */}} + through the .Scratch variable. + */}} {{ block "loadshortcodes" . }}{{ with .Content }}{{ end }}{{ end }} {{ range .Scratch.GetSortedMapValues "css" }} <link rel="stylesheet" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> |