mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 06:52:18 +00:00
add icons for post and update dates
This commit is contained in:
parent
920df9834f
commit
9594d5db7e
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">{{ $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>
|
</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 }}{{ . }}{{ 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>
|
||||||
<p>
|
<p>
|
||||||
{{- with .Params.tags -}}
|
{{- with .Params.tags -}}
|
||||||
|
|
Loading…
Reference in a new issue