mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 14:32:19 +00:00
ditch unnecessary icons, use text labels for posted/updated dates
This commit is contained in:
parent
d0c7224d95
commit
0f03fb34f6
2 changed files with 2 additions and 2 deletions
|
@ -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> {{ $postDate }}{{- if ne $postDate $updateDate }} <i class="fa-regular fa-pen-to-square"></i> {{ $updateDate }}{{ end }}</span>
|
||||
<span class="date">[{{- $postDate }}]{{- if ne $postDate $updateDate }}->[{{ $updateDate }}]{{ end }}</span>
|
||||
</p>
|
||||
</header>
|
||||
|
||||
|
|
|
@ -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> {{ . }}{{ end }}{{- if ne $postDate $updateDate }}<br><i class="fa-regular fa-pen-to-square"></i> {{ $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 -}}
|
||||
|
|
Loading…
Reference in a new issue