From 631547a75142326a7c71bdf123e1475217a5ad73 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 22 Apr 2026 12:42:56 +0200 Subject: chore: replace with extracted danix.xyz-hacker theme (danix2-hugo-theme) --- layouts/partials/article-types/life.html | 3 +++ layouts/partials/article-types/link.html | 17 +++++++++++++++++ layouts/partials/article-types/photo.html | 19 +++++++++++++++++++ layouts/partials/article-types/quote.html | 15 +++++++++++++++ layouts/partials/article-types/tech.html | 3 +++ 5 files changed, 57 insertions(+) create mode 100644 layouts/partials/article-types/life.html create mode 100644 layouts/partials/article-types/link.html create mode 100644 layouts/partials/article-types/photo.html create mode 100644 layouts/partials/article-types/quote.html create mode 100644 layouts/partials/article-types/tech.html (limited to 'layouts/partials/article-types') diff --git a/layouts/partials/article-types/life.html b/layouts/partials/article-types/life.html new file mode 100644 index 0000000..01cd8b8 --- /dev/null +++ b/layouts/partials/article-types/life.html @@ -0,0 +1,3 @@ +
+ {{ .Content }} +
diff --git a/layouts/partials/article-types/link.html b/layouts/partials/article-types/link.html new file mode 100644 index 0000000..bbf7906 --- /dev/null +++ b/layouts/partials/article-types/link.html @@ -0,0 +1,17 @@ +
+ + {{ .Params.link_title | default (i18n "readMore") }} + + + + +
+ +
+ {{ .Content }} +
diff --git a/layouts/partials/article-types/photo.html b/layouts/partials/article-types/photo.html new file mode 100644 index 0000000..743e02a --- /dev/null +++ b/layouts/partials/article-types/photo.html @@ -0,0 +1,19 @@ +{{ if .Params.featured_image }} +
+ {{ .Title }} + {{ if .Params.featured_image_caption }} +
+ {{ .Params.featured_image_caption }} +
+ {{ end }} +
+{{ end }} + +
+ {{ .Content }} +
diff --git a/layouts/partials/article-types/quote.html b/layouts/partials/article-types/quote.html new file mode 100644 index 0000000..f27d189 --- /dev/null +++ b/layouts/partials/article-types/quote.html @@ -0,0 +1,15 @@ +
+ "{{ .Params.quote_text }}" +
+ +{{ if .Params.quote_author }} +
+ — {{ .Params.quote_author }} +
+{{ end }} + +{{ if .Content }} +
+ {{ .Content }} +
+{{ end }} diff --git a/layouts/partials/article-types/tech.html b/layouts/partials/article-types/tech.html new file mode 100644 index 0000000..01cd8b8 --- /dev/null +++ b/layouts/partials/article-types/tech.html @@ -0,0 +1,3 @@ +
+ {{ .Content }} +
-- cgit v1.2.3