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/home.html | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 layouts/home.html (limited to 'layouts/home.html') diff --git a/layouts/home.html b/layouts/home.html deleted file mode 100644 index 54d8087..0000000 --- a/layouts/home.html +++ /dev/null @@ -1,48 +0,0 @@ -{{ define "canvas-mode" }}hero{{ end }} - -{{ define "main" }} - {{ partial "hero.html" . }} - -
- -
-

// latest posts

-

Recent Articles

-
- - {{ $articlesSection := .Site.GetPage "/articles" }} - {{ if $articlesSection }} - {{ $articles := $articlesSection.Pages }} - {{ $articles = sort $articles "Date" "desc" }} -
- {{ range first 6 $articles }} - {{ $type := .Params.type }} - {{ if not $type }}{{ $type = "article" }}{{ end }} - - {{ $excerpt := .Params.excerpt }} - {{ if not $excerpt }} - {{ $excerpt = .Summary | plainify | truncate 150 }} - {{ end }} - - {{ $data := dict - "title" .Title - "type" $type - "description" $excerpt - "date" .Date - "url" .RelPermalink - "image" .Params.image - "featured" .Params.featured - "context" "home" - }} - {{ partial "post-card.html" $data }} - {{ end }} -
- {{ end }} - -
- View All Articles -
- -
-{{ end }} -- cgit v1.2.3