You've already forked no-js-hugo-theme
add tags and hr
This commit is contained in:
@ -6,6 +6,12 @@
|
||||
{{- if eq .Date.IsZero false }}
|
||||
<time>{{ .Date.Format "Monday, January 2, 2006" }}</time>
|
||||
{{- end }}
|
||||
{{ if .Params.tags }}
|
||||
│
|
||||
{{range .Params.tags}}
|
||||
<a class="btn" href="/tags/{{ . | urlize }}" role="button">{{ . }}</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{- if (and (eq .Lastmod.IsZero false) (ne .Lastmod .Date)) }}
|
||||
— last updated <time>{{ .Lastmod.Format "January 2, 2006" }}</time>
|
||||
{{- end }}
|
||||
|
@ -24,6 +24,7 @@
|
||||
<a href="{{ .RelPermalink }}">Read More…</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
<hr>
|
||||
</article>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user