mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-23 07:22:18 +00:00
ditch unnecessary icons, use text labels for posted/updated dates
This commit is contained in:
parent
db036dea2b
commit
b476d5353a
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
<header class="post__header">
|
<header class="post__header">
|
||||||
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||||
<p class="post__meta">
|
<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>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{{ if or (.Params.description) (.Params.date) }}
|
{{ if or (.Params.description) (.Params.date) }}
|
||||||
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
|
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
|
||||||
<p>
|
<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>
|
||||||
<p>
|
<p>
|
||||||
{{- with .Params.tags -}}
|
{{- with .Params.tags -}}
|
||||||
|
|
Loading…
Reference in a new issue