diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-22 12:43:22 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-22 12:43:22 +0200 |
| commit | 5b476f8905f411768e23cb01d577a60e5a5fd725 (patch) | |
| tree | 0a08cc83d809dbea714f52826e822501ee7c0165 /themes/danix-xyz-hacker/layouts/index.json | |
| parent | 082e9246ffe453031894d32d3cee9d5d1bf2b67a (diff) | |
| download | danixxyz-5b476f8905f411768e23cb01d577a60e5a5fd725.tar.gz danixxyz-5b476f8905f411768e23cb01d577a60e5a5fd725.zip | |
chore: extract theme into git submodule (danix2-hugo-theme)
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/index.json')
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/index.json | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/themes/danix-xyz-hacker/layouts/index.json b/themes/danix-xyz-hacker/layouts/index.json deleted file mode 100644 index e17e31e..0000000 --- a/themes/danix-xyz-hacker/layouts/index.json +++ /dev/null @@ -1,13 +0,0 @@ -{{- $articles := where .Site.RegularPages "Section" "articles" -}} -{{- $articles = $articles.ByDate.Reverse -}} -[ - {{- range $index, $article := $articles -}} - { - "title": {{ $article.Title | jsonify }}, - "url": {{ $article.Permalink | jsonify }}, - "date": {{ $article.Date.Format "Jan 02, 2006" | jsonify }}, - "summary": {{ substr ($article.Summary | plainify) 0 160 | jsonify }} - } - {{- if ne (add $index 1) (len $articles) }},{{ end }} - {{- end }} -] |
