fixed date

This commit is contained in:
Stephan Hadan 2025-02-02 09:06:33 +01:00
parent 21e652e38a
commit c1a2dc10a2
4 changed files with 27 additions and 4 deletions

23
changelog.yml Normal file
View file

@ -0,0 +1,23 @@
# The full repository name
repo: stiebke/hugo-internet-weblog
# Service type (gitea or github)
service: gitea
# Base URL for Gitea instance if using gitea service type (optional)
# Default: https://gitea.com
base-url: https://git.hadan-it.com
# Changelog groups and which labeled PRs to add to each group
groups:
-
name: BUGFIXES
labels:
- bug
-
name: ENHANCEMENTS
labels:
- enhancement
# regex indicating which labels to skip for the changelog
skip-labels: skip-changelog|backport\/.+

View file

@ -6,7 +6,7 @@
<h2><a rel="remote-article" href="{{ .Params.externalurl }}">→ {{ .Title }}</a> <a href="{{ .Permalink }}"></a></h2>
{{ end }}
<div class="postmeta">Geschrieben am <time datetime='{{ .Date.Format "02.01.2006" }}' pubdate="">{{ .Date.Format "2. Januar 2006" }}</time>
<div class="postmeta">Geschrieben am <time datetime='{{ .Date.Format "02.01.2006" }}' pubdate="">{{ .Date.Format "2. January 2006" }}</time>
{{ if (isset .Params "categories") }}
in
<span class="categories">

View file

@ -5,7 +5,7 @@
<h2><a rel="remote-article" href="{{ .Params.externalurl }}">→ {{ .Title }}</a> <a href="{{ .Permalink }}"></a></h2>
{{ end }}
<div class="postmeta">Geschrieben am <time datetime='{{ .Date.Format "02.01.2006" }}' pubdate="">{{ .Date.Format "2. Januar 2006" }}</time>
<div class="postmeta">Geschrieben am <time datetime='{{ .Date.Format "02.01.2006" }}' pubdate="">{{ .Date.Format "2. January 2006" }}</time>
{{ if (isset .Params "categories") }}
in
<span class="categories">

View file

@ -9,11 +9,11 @@
<li>
{{ if (not (isset .Params "externalurl")) }}
<a rel="full-article" href="{{ .Permalink }}">{{ .Title }}</a>
on <time datetime='{{ .Date.Format "02.01.2006" }}' pubdate="">{{ .Date.Format "2. Januar" }}</time>
on <time datetime='{{ .Date.Format "02.01.2006" }}' pubdate="">{{ .Date.Format "2. January" }}</time>
{{ else }}
<a rel="remote-article" href="{{ .Params.externalurl }}">{{ .Title }} →</a>
on
<a href="{{ .Permalink }}"> <time datetime='{{ .Date.Format "02.01.2000" }}' pubdate="">{{ .Date.Format "2. Januar" }}</time> </a>
<a href="{{ .Permalink }}"> <time datetime='{{ .Date.Format "02.01.2000" }}' pubdate="">{{ .Date.Format "2. January" }}</time> </a>
{{ end }}
</li>
{{ end }}