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

github.com/yursan9/manis-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYurizal Susanto <rizal.sagi@gmail.com>2017-06-29 18:33:19 +0300
committerYurizal Susanto <rizal.sagi@gmail.com>2017-06-29 18:33:19 +0300
commit40cb75c5c4833f0cd770f869ff09eadf747e00bd (patch)
tree2e93ad112da26a3e7c743d6bd287ce58c83b55f1 /layouts
parentb64aff95dea66f426b8ff6d17087755602902682 (diff)
Change separator for post/work description
Diffstat (limited to 'layouts')
-rw-r--r--layouts/blog/single.html6
-rw-r--r--layouts/work/single.html8
2 files changed, 7 insertions, 7 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 709b0d3..51bcc18 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -3,12 +3,12 @@
<header>
<h1>{{ .Title }}</h1>
<h6>
- {{if .Date}}<time datetime="{{.Date}}">{{ .Date.Format .Site.Params.DateFmt }} - </time>{{end}}
- {{ T "readingTime" .ReadingTime }}
+ {{if .Date}}<time datetime="{{.Date}}">{{ .Date.Format .Site.Params.DateFmt }}</time>{{end}}
+ - {{ T "readingTime" .ReadingTime }}
{{if .Params.tags}}
-
{{range .Params.tags}}
- {{ . }}
+ <a href="/tags/{{ . }}">{{ . }}</a>
{{end}}
{{end}}
</h6>
diff --git a/layouts/work/single.html b/layouts/work/single.html
index c276935..bf32bcd 100644
--- a/layouts/work/single.html
+++ b/layouts/work/single.html
@@ -3,13 +3,13 @@
<header>
<h1>{{ .Title }}</h1>
<h6>
- {{if .Date}}<time datetime="{{.Date}}">{{ .Date.Format .Site.Params.DateFmt }} - </time>{{end}}
- {{ with .Params.workURL }}
- <a href="{{.}}" target="_blank"><em>{{ T "workHomepage" }}</em></a> -
+ {{if .Date}}<time datetime="{{.Date}}">{{ .Date.Format .Site.Params.DateFmt }}</time>{{end}}
+ - {{ with .Params.workURL }}
+ - <a href="{{.}}" target="_blank"><em>{{ T "workHomepage" }}</em></a>
{{ end }}
{{if .Params.tags}}
{{range .Params.tags}}
- {{ . }}
+ <a href="/tags/{{ . }}">{{ . }}</a>
{{end}}
{{end}}
</h6>