Site update

This commit is contained in:
CronyAkatsuki 2023-10-06 19:04:36 +02:00
parent bcb4734e5e
commit 33b85e2436
11 changed files with 41 additions and 28 deletions

View file

@ -7,7 +7,7 @@
<section class="list">
{{ range .Pages.ByPublishDate.Reverse }}
<a href="{{ .RelPermalink }}">
{{ .Date.Format "02-01-2006" }} || {{ .Title }} <span class="comment"></span>
{{ .Date.Format .Site.Params.dateFormat }} || {{ .Title }} <span class="comment"></span>
</a><br>
{{ end }}
</section>

View file

@ -17,7 +17,7 @@
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
<pubDate>{{ .Params.date.Format .Site.Params.dateFormat | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{- .Content | html -}}</description>

View file

@ -2,6 +2,10 @@
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ if isset .Params "date" }}
{{ end}}
<div id="date">
<p>{{ .Date.Format .Site.Params.dateFormat }}</p>
</div>
{{ end }} {{ .Content }} {{ end }}