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

github.com/thomasheller/crab.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Heller <thomas.m.heller@gmail.com>2019-05-31 22:02:19 +0300
committerThomas Heller <thomas.m.heller@gmail.com>2019-05-31 22:02:19 +0300
commit0cb1f08cde698e2cea83c83b0f41b186c5b1bbd1 (patch)
treed28faf45ec01b884b5bab4a1b133b72a9d7b797d
parent340d277113d2c1a956310851d9eb855f972b74b1 (diff)
fixes #11
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/_default/single.html2
2 files changed, 0 insertions, 6 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index a9d34c9..972b035 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,7 +1,5 @@
{{ partial "header.html" . }}
-{{ if hasPrefix .URL "/blog/" }}
-
{{ range sort .Paginator.Pages }}
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p class="timestamp">{{ .Date.Format "January 2, 2006" }}</p>
@@ -17,6 +15,4 @@
{{ end }}
{{ partial "pagination.html" . }}
-{{ end }}
-
{{ partial "footer.html" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index b3a2383..71b3af4 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,7 +1,5 @@
{{ partial "header.html" . }}
-{{ if hasPrefix .URL "/blog/" }}
<p class="timestamp">{{ .Date.Format "January 2, 2006" }}</p>
-{{ end }}
{{ .Content }}
{{ if .Params.tags }}
{{ partial "tags" .Params.tags }}