add tags and hr

This commit is contained in:
Balakrishnan Balasubramanian 2025-05-13 15:26:30 -04:00
parent efa2c9edce
commit e6d8fd1b4e
3 changed files with 13 additions and 0 deletions

View File

@ -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)) }}
&mdash; last updated <time>{{ .Lastmod.Format "January 2, 2006" }}</time>
{{- end }}

View File

@ -24,6 +24,7 @@
<a href="{{ .RelPermalink }}">Read More…</a>
{{ end }}
</div>
<hr>
</article>
{{ end }}
{{ end }}

View File

@ -623,3 +623,9 @@ body {
display: none;
}
}
.btn {
padding: 0.3em;
border-width: 1px;
border-style: solid;
}