mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-27 05:02:18 +00:00
add icons for post and update dates
This commit is contained in:
parent
6a99f05a70
commit
36c6ae2a03
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">{{ $postDate }}{{- if ne $postDate $updateDate }} [{{ $updateDate }}]{{ end }}</span>
|
||||
<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>
|
||||
</p>
|
||||
</header>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{{ if or (.Params.description) (.Params.date) }}
|
||||
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
|
||||
<p>
|
||||
{{ with $postDate }}{{ . }}{{ end }}{{- if ne $postDate $updateDate }} [{{ $updateDate }}]{{ end }}
|
||||
{{ 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 }}
|
||||
</p>
|
||||
<p>
|
||||
{{- with .Params.tags -}}
|
||||
|
|
Loading…
Reference in a new issue