add tags and hr
This commit is contained in:
parent
efa2c9edce
commit
e6d8fd1b4e
@ -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 }}
|
||||
|
@ -623,3 +623,9 @@ body {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 0.3em;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user