From 5b476f8905f411768e23cb01d577a60e5a5fd725 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 22 Apr 2026 12:43:22 +0200 Subject: chore: extract theme into git submodule (danix2-hugo-theme) --- .../layouts/partials/article-header.html | 71 ---------------------- 1 file changed, 71 deletions(-) delete mode 100644 themes/danix-xyz-hacker/layouts/partials/article-header.html (limited to 'themes/danix-xyz-hacker/layouts/partials/article-header.html') diff --git a/themes/danix-xyz-hacker/layouts/partials/article-header.html b/themes/danix-xyz-hacker/layouts/partials/article-header.html deleted file mode 100644 index 94c78a5..0000000 --- a/themes/danix-xyz-hacker/layouts/partials/article-header.html +++ /dev/null @@ -1,71 +0,0 @@ -{{ $articleType := .Params.type | default "life" }} -{{ $typeConfig := .Site.Params.articleTypes }} -{{ $typeData := index $typeConfig $articleType }} -{{ $hasType := .Params.type }} - -
- -
- - {{ if and $typeData $hasType }} -
- {{ end }} - - - {{ if and $typeData $hasType }} -
- {{ end }} - -

- {{ .Title }} -

-
- - -
- - {{ if .PublishDate }} -
- - -
- {{ end }} - - - {{ if .Lastmod }} - {{ $lastmodDate := .Lastmod.Format "2006-01-02" }} - {{ $pubDate := .PublishDate.Format "2006-01-02" }} - {{ if ne $lastmodDate $pubDate }} -
- - -
- {{ end }} - {{ end }} - - - {{ if .Site.Params.readingTime }} -
- - {{ .ReadingTime }} {{ i18n "min" }} {{ i18n "readingTime" }} -
- {{ end }} - - - {{ if and $typeData $hasType }} - - {{ i18n $articleType }} - - {{ end }} -
-
-- cgit v1.2.3