i know it is a lot
This commit is contained in:
parent
59ee3f114a
commit
f1b32bd47e
29 changed files with 415 additions and 570 deletions
17
layouts/partials/item.html
Normal file
17
layouts/partials/item.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<div>
|
||||
<div class="flex justify-between">
|
||||
{{ if .Page.Params.link }}
|
||||
<a class="font-bold" href="{{ .Page.Params.link }}">{{ .Title }}</a>
|
||||
{{ else }}
|
||||
<a class="font-bold" href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
{{ if .Site.Params.displayDate }}
|
||||
<div class="text-xs font-bold">{{ dateFormat .Site.Params.timeformat .Date }}</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if .Site.Params.displayDescription }}
|
||||
<p class="text-sm mb-2">
|
||||
{{ .Description | markdownify | safeHTML }}
|
||||
</p>
|
||||
{{ end }}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue