pidgin/nest

Adds footline partial

2019-01-20, Jason
b1bb041712d1
Parents d2e5109efaf2
Children 1e8c82ab4b35
Adds footline partial
--- a/themes/learn/layouts/_default/list.html Sun Jan 20 22:56:45 2019 +0000
+++ b/themes/learn/layouts/_default/list.html Sun Jan 20 23:10:55 2019 +0000
@@ -2,11 +2,6 @@
{{ .Content }}
-<footer class=" footline" >
- {{ with .Params.LastModifierDisplayName }}
- <i class='fas fa-user'></i> <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a> {{ with $.Date }} <i class='fas fa-calendar'></i> {{ .Format "02/01/2006" }}{{ end }}
- </div>
- {{ end }}
-</footer>
+{{ partial "footline.html" . }}
{{ partial "footer.html" . }}
\ No newline at end of file
--- a/themes/learn/layouts/_default/single.html Sun Jan 20 22:56:45 2019 +0000
+++ b/themes/learn/layouts/_default/single.html Sun Jan 20 23:10:55 2019 +0000
@@ -2,11 +2,6 @@
{{ .Content }}
-<footer class=" footline" >
- {{ with .Params.LastModifierDisplayName }}
- <i class='fas fa-user'></i> <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a> {{ with $.Date }} <i class='fas fa-calendar'></i> {{ .Format "02/01/2006" }}{{ end }}
- </div>
- {{ end }}
-</footer>
+{{ partial "footline.html" . }}
{{ partial "footer.html" . }}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/learn/layouts/partials/footline.html Sun Jan 20 23:10:55 2019 +0000
@@ -0,0 +1,6 @@
+<footer class=" footline">
+ {{ with .Params.LastModifierDisplayName }}
+ <i class='fas fa-user'></i> <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a> {{ with $.Date }} <i class='fas fa-calendar'></i> {{ .Format "02/01/2006" }}{{ end }}
+ </div>
+ {{ end }}
+</footer>