ditch unnecessary icons, use text labels for posted/updated dates

This commit is contained in:
John Bowdre 2023-08-29 13:36:10 -05:00
parent d0c7224d95
commit 0f03fb34f6
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@
<header class="post__header">
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<p class="post__meta">
<span class="date"><i class="fa-regular fa-note-sticky"></i>&nbsp;{{ $postDate }}{{- if ne $postDate $updateDate }} &nbsp; <i class="fa-regular fa-pen-to-square"></i>&nbsp;{{ $updateDate }}{{ end }}</span>
<span class="date">[{{- $postDate }}]{{- if ne $postDate $updateDate }}->[{{ $updateDate }}]{{ end }}</span>
</p>
</header>

View file

@ -3,7 +3,7 @@
{{ if or (.Params.description) (.Params.date) }}
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
<p>
{{ with $postDate }}<i class="fa-regular fa-note-sticky"></i>&nbsp;{{ . }}{{ end }}{{- if ne $postDate $updateDate }}<br><i class="fa-regular fa-pen-to-square"></i>&nbsp;{{ $updateDate }}{{ end }}
{{ with $postDate }}<table><tr><td>Posted:</td><td>{{ . }}</td></tr>{{- if ne $postDate $updateDate }}<tr><td>Updated:</td><td>{{ $updateDate }}</td></tr>{{ end }}</table>{{ end }}
</p>
<p>
{{- with .Params.tags -}}