Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/de-souza/hugo-flex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorde-souza <43355143+de-souza@users.noreply.github.com>2019-11-16 02:15:15 +0300
committerde-souza <43355143+de-souza@users.noreply.github.com>2019-11-16 02:15:15 +0300
commitf178fd9d518d08c338161dc89c9848e22ac507b6 (patch)
tree8f2f87125683b10e7753ab1c3c38a2f415e358f4
parentfb2f641e18094165029f211c092f3403113d527e (diff)
Use 'tpl' instead of 'temp' in template file names
-rw-r--r--assets/css/base.tpl.css (renamed from assets/css/base.temp.css)0
-rw-r--r--assets/xml/base.tpl.xml (renamed from assets/xml/base.temp.xml)0
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/_default/rss.xml2
4 files changed, 2 insertions, 2 deletions
diff --git a/assets/css/base.temp.css b/assets/css/base.tpl.css
index b51fb6f..b51fb6f 100644
--- a/assets/css/base.temp.css
+++ b/assets/css/base.tpl.css
diff --git a/assets/xml/base.temp.xml b/assets/xml/base.tpl.xml
index 2c3e883..2c3e883 100644
--- a/assets/xml/base.temp.xml
+++ b/assets/xml/base.tpl.xml
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 41f99b8..94ab48c 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -18,7 +18,7 @@
{{ range .AlternativeOutputFormats }}
{{ printf "<link rel=%q type=%q href=%q title=%q>" .Rel .MediaType .Permalink site.Title | safeHTML }}
{{ end }}
- {{ resources.Get "css/base.temp.css" | resources.ExecuteAsTemplate "css/base.css" . | minify | fingerprint | .Page.Scratch.SetInMap "css" "base" }}
+ {{ resources.Get "css/base.tpl.css" | resources.ExecuteAsTemplate "css/base.css" . | minify | fingerprint | .Page.Scratch.SetInMap "css" "base" }}
{{/*
In this block Hugo is forced to load the page's content, effectively
pre-rendering all its shortcodes. Thanks to this pre-render,
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index 96f04c8..037cfbc 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -1,5 +1,5 @@
{{ `<?xml version="1.0" encoding="utf-8" ?>` | safeHTML }}
-{{ with resources.Get "xml/base.temp.xml" | resources.ExecuteAsTemplate "xml/base.xml" . | minify -}}
+{{ with resources.Get "xml/base.tpl.xml" | resources.ExecuteAsTemplate "xml/base.xml" . | minify -}}
{{ printf `<?xml-stylesheet type="text/xsl" href=%q ?>` .Permalink | safeHTML }}
{{ end -}}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">