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

View File

@ -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 }}

View File

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