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

github.com/gizak/nofancy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgizak <gizak@icloud.com>2015-01-14 03:36:44 +0300
committergizak <gizak@icloud.com>2015-01-14 03:36:44 +0300
commitfab4d85933ea853d45473d83f5a2494a2446abba (patch)
tree777fdc7e6ab0b2b6a844ca238fa5d4f519ee2e2b /layouts
parent9f4aea0f5b74d14438ea5d0ab5574856ab7b4d55 (diff)
Rectify time and tags format
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html6
-rw-r--r--layouts/_default/single.html11
-rw-r--r--layouts/index.html6
3 files changed, 12 insertions, 11 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index f845347..a19b73e 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -22,15 +22,15 @@
{{ end }}
{{ with $page.Params.tags }}
- /tags/{{ range $page.Params.tags}}<a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a>,{{ end }}
+ tags:[ {{ range $page.Params.tags}}<a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a> {{ end }}]
{{ end }}
{{ with $page.Params.categories }}
- /categories/{{ range $page.Params.categories }}<a href="{{ $baseurl }}/categories/{{ . | urlize }}">{{ . }}</a>,{{ end }}
+ categories:[ {{ range $page.Params.categories }}<a href="{{ $baseurl }}/categories/{{ . | urlize }}">{{ . }}</a> {{ end }}]
{{ end }}
{{ with $page.Params.series }}
- /series/{{ range $page.Params.series }}<a href="{{ $baseurl }}/series/{{ . | urlize }}">{{ . }}</a>,{{ end }}
+ series:[ {{ range $page.Params.series }}<a href="{{ $baseurl }}/series/{{ . | urlize }}">{{ . }}</a> {{ end }}]
{{ end }}
</p>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 8471439..2ba2acc 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -6,21 +6,22 @@
<div class="eight columns offset-by-two">
<div id="post-title">
<p class="footnote">
- <time class="pull-right post-list">{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</time>
+ <!--<time class="pull-right post-list">{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</time>-->
+ <time class="">{{ .Date.Format "2006-01-02" }}</time>
{{ $baseurl := .Site.BaseUrl }}
{{ if or .Params.tags .Params.categories .Params.series }}
- @
+ |
{{ end }}
{{ if isset .Params "tags" }}
- /tags/{{ range .Params.tags }}<a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a>,{{ end }}
+ tags:{{ range .Params.tags }}<a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a> {{ end }}
{{ end }}
{{ if isset .Params "categories" }}
- /categories/{{ range .Params.categories }}<a href="{{ $baseurl }}/categories/{{ . | urlize }}">{{ . }}</a>,{{ end }}
+ categories:{{ range .Params.categories }}<a href="{{ $baseurl }}/categories/{{ . | urlize }}">{{ . }}</a> {{ end }}
{{ end }}
{{ if isset .Params "series" }}
- /series/{{ range .Params.series }}<a href="{{ $baseurl }}/series/{{ . | urlize }}">{{ . }}</a>,{{ end }}
+ series:{{ range .Params.series }}<a href="{{ $baseurl }}/series/{{ . | urlize }}">{{ . }}</a> {{ end }}
{{ end }}
</p>
diff --git a/layouts/index.html b/layouts/index.html
index 60f71d3..889845a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -22,15 +22,15 @@
{{ end }}
{{ with $page.Params.tags }}
- /tags/{{ range $page.Params.tags}}<a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a>,{{ end }}
+ tags:[ {{ range $page.Params.tags}}<a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a> {{ end }}]
{{ end }}
{{ with $page.Params.categories }}
- /categories/{{ range $page.Params.categories }}<a href="{{ $baseurl }}/categories/{{ . | urlize }}">{{ . }}</a>,{{ end }}
+ categories:[ {{ range $page.Params.categories }}<a href="{{ $baseurl }}/categories/{{ . | urlize }}">{{ . }}</a> {{ end }}]
{{ end }}
{{ with $page.Params.series }}
- /series/{{ range $page.Params.series }}<a href="{{ $baseurl }}/series/{{ . | urlize }}">{{ . }}</a>,{{ end }}
+ series:[ {{ range $page.Params.series }}<a href="{{ $baseurl }}/series/{{ . | urlize }}">{{ . }}</a> {{ end }}]
{{ end }}
</p>