add tags and hr
This commit is contained in:
parent
efa2c9edce
commit
e6d8fd1b4e
@ -6,6 +6,12 @@
|
|||||||
{{- if eq .Date.IsZero false }}
|
{{- if eq .Date.IsZero false }}
|
||||||
<time>{{ .Date.Format "Monday, January 2, 2006" }}</time>
|
<time>{{ .Date.Format "Monday, January 2, 2006" }}</time>
|
||||||
{{- end }}
|
{{- 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)) }}
|
{{- if (and (eq .Lastmod.IsZero false) (ne .Lastmod .Date)) }}
|
||||||
— last updated <time>{{ .Lastmod.Format "January 2, 2006" }}</time>
|
— last updated <time>{{ .Lastmod.Format "January 2, 2006" }}</time>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
<a href="{{ .RelPermalink }}">Read More…</a>
|
<a href="{{ .RelPermalink }}">Read More…</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
<hr>
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -623,3 +623,9 @@ body {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
padding: 0.3em;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user