From 2331987d2729e154e50bb00063d9723b0694bb47 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Sat, 31 Jan 2026 15:42:55 -0600 Subject: [PATCH] shijin4: Updates for hugo 0.147.0 --- .../{partials => _partials}/breadcrumbs.html | 0 .../{partials => _partials}/discourse.html | 0 .../footer.copyright.html | 0 .../{partials => _partials}/footer.html | 0 .../{partials => _partials}/fundraising.html | 0 .../{partials => _partials}/header.html | 2 +- .../header_includes.html} | 0 .../layouts/{partials => _partials}/home.html | 0 .../layouts/{partials => _partials}/item.xml | 0 .../layouts/{partials => _partials}/meta.html | 0 .../{partials => _partials}/navbar.html | 0 .../{partials => _partials}/pagination.html | 0 .../sidebar_articles.html | 0 .../{partials => _partials}/sidebar_blog.html | 0 .../sidebar_blogosphere.html | 0 .../sidebar_events.html | 0 .../{partials => _partials}/sidebar_menu.html | 0 .../{partials => _partials}/sidebar_news.html | 0 .../single_generic.html | 0 .../alert-danger.html | 0 .../alert-donate.html | 0 .../alert-info.html | 0 .../alert-warning.html | 0 .../html-escape.html | 0 .../{shortcodes => _shortcodes}/keyboard.html | 0 themes/shijin4/layouts/blog_index/_index.html | 21 +++++++++++++ themes/shijin4/layouts/blog_index/li.html | 4 +++ themes/shijin4/layouts/blog_index/list.html | 30 +++++++++++++++++++ themes/shijin4/layouts/blog_index/rss.xml | 13 ++++++++ themes/shijin4/layouts/blog_index/single.html | 30 +++++++++++++++++++ .../shijin4/layouts/blog_index/summary.html | 21 +++++++++++++ .../shijin4/layouts/{index.html => home.html} | 2 +- .../article.terms.html => taxonomy.html} | 0 .../layouts/{taxonomy/tag.html => term.html} | 0 34 files changed, 121 insertions(+), 2 deletions(-) rename themes/shijin4/layouts/{partials => _partials}/breadcrumbs.html (100%) rename themes/shijin4/layouts/{partials => _partials}/discourse.html (100%) rename themes/shijin4/layouts/{partials => _partials}/footer.copyright.html (100%) rename themes/shijin4/layouts/{partials => _partials}/footer.html (100%) rename themes/shijin4/layouts/{partials => _partials}/fundraising.html (100%) rename themes/shijin4/layouts/{partials => _partials}/header.html (90%) rename themes/shijin4/layouts/{partials/header.includes.html => _partials/header_includes.html} (100%) rename themes/shijin4/layouts/{partials => _partials}/home.html (100%) rename themes/shijin4/layouts/{partials => _partials}/item.xml (100%) rename themes/shijin4/layouts/{partials => _partials}/meta.html (100%) rename themes/shijin4/layouts/{partials => _partials}/navbar.html (100%) rename themes/shijin4/layouts/{partials => _partials}/pagination.html (100%) rename themes/shijin4/layouts/{partials => _partials}/sidebar_articles.html (100%) rename themes/shijin4/layouts/{partials => _partials}/sidebar_blog.html (100%) rename themes/shijin4/layouts/{partials => _partials}/sidebar_blogosphere.html (100%) rename themes/shijin4/layouts/{partials => _partials}/sidebar_events.html (100%) rename themes/shijin4/layouts/{partials => _partials}/sidebar_menu.html (100%) rename themes/shijin4/layouts/{partials => _partials}/sidebar_news.html (100%) rename themes/shijin4/layouts/{partials => _partials}/single_generic.html (100%) rename themes/shijin4/layouts/{shortcodes => _shortcodes}/alert-danger.html (100%) rename themes/shijin4/layouts/{shortcodes => _shortcodes}/alert-donate.html (100%) rename themes/shijin4/layouts/{shortcodes => _shortcodes}/alert-info.html (100%) rename themes/shijin4/layouts/{shortcodes => _shortcodes}/alert-warning.html (100%) rename themes/shijin4/layouts/{shortcodes => _shortcodes}/html-escape.html (100%) rename themes/shijin4/layouts/{shortcodes => _shortcodes}/keyboard.html (100%) create mode 100644 themes/shijin4/layouts/blog_index/_index.html create mode 100644 themes/shijin4/layouts/blog_index/li.html create mode 100644 themes/shijin4/layouts/blog_index/list.html create mode 100644 themes/shijin4/layouts/blog_index/rss.xml create mode 100644 themes/shijin4/layouts/blog_index/single.html create mode 100644 themes/shijin4/layouts/blog_index/summary.html rename themes/shijin4/layouts/{index.html => home.html} (98%) rename themes/shijin4/layouts/{taxonomy/article.terms.html => taxonomy.html} (100%) rename themes/shijin4/layouts/{taxonomy/tag.html => term.html} (100%) diff --git a/themes/shijin4/layouts/partials/breadcrumbs.html b/themes/shijin4/layouts/_partials/breadcrumbs.html similarity index 100% rename from themes/shijin4/layouts/partials/breadcrumbs.html rename to themes/shijin4/layouts/_partials/breadcrumbs.html diff --git a/themes/shijin4/layouts/partials/discourse.html b/themes/shijin4/layouts/_partials/discourse.html similarity index 100% rename from themes/shijin4/layouts/partials/discourse.html rename to themes/shijin4/layouts/_partials/discourse.html diff --git a/themes/shijin4/layouts/partials/footer.copyright.html b/themes/shijin4/layouts/_partials/footer.copyright.html similarity index 100% rename from themes/shijin4/layouts/partials/footer.copyright.html rename to themes/shijin4/layouts/_partials/footer.copyright.html diff --git a/themes/shijin4/layouts/partials/footer.html b/themes/shijin4/layouts/_partials/footer.html similarity index 100% rename from themes/shijin4/layouts/partials/footer.html rename to themes/shijin4/layouts/_partials/footer.html diff --git a/themes/shijin4/layouts/partials/fundraising.html b/themes/shijin4/layouts/_partials/fundraising.html similarity index 100% rename from themes/shijin4/layouts/partials/fundraising.html rename to themes/shijin4/layouts/_partials/fundraising.html diff --git a/themes/shijin4/layouts/partials/header.html b/themes/shijin4/layouts/_partials/header.html similarity index 90% rename from themes/shijin4/layouts/partials/header.html rename to themes/shijin4/layouts/_partials/header.html index 3710f22f5..a034dbfed 100644 --- a/themes/shijin4/layouts/partials/header.html +++ b/themes/shijin4/layouts/_partials/header.html @@ -5,7 +5,7 @@ {{ .Title }} | {{ .Site.Title }} - {{ partial "header.includes.html" . }} + {{ partial "header_includes.html" . }} {{ if (.OutputFormats.Get "RSS") }}{{ end }} diff --git a/themes/shijin4/layouts/partials/header.includes.html b/themes/shijin4/layouts/_partials/header_includes.html similarity index 100% rename from themes/shijin4/layouts/partials/header.includes.html rename to themes/shijin4/layouts/_partials/header_includes.html diff --git a/themes/shijin4/layouts/partials/home.html b/themes/shijin4/layouts/_partials/home.html similarity index 100% rename from themes/shijin4/layouts/partials/home.html rename to themes/shijin4/layouts/_partials/home.html diff --git a/themes/shijin4/layouts/partials/item.xml b/themes/shijin4/layouts/_partials/item.xml similarity index 100% rename from themes/shijin4/layouts/partials/item.xml rename to themes/shijin4/layouts/_partials/item.xml diff --git a/themes/shijin4/layouts/partials/meta.html b/themes/shijin4/layouts/_partials/meta.html similarity index 100% rename from themes/shijin4/layouts/partials/meta.html rename to themes/shijin4/layouts/_partials/meta.html diff --git a/themes/shijin4/layouts/partials/navbar.html b/themes/shijin4/layouts/_partials/navbar.html similarity index 100% rename from themes/shijin4/layouts/partials/navbar.html rename to themes/shijin4/layouts/_partials/navbar.html diff --git a/themes/shijin4/layouts/partials/pagination.html b/themes/shijin4/layouts/_partials/pagination.html similarity index 100% rename from themes/shijin4/layouts/partials/pagination.html rename to themes/shijin4/layouts/_partials/pagination.html diff --git a/themes/shijin4/layouts/partials/sidebar_articles.html b/themes/shijin4/layouts/_partials/sidebar_articles.html similarity index 100% rename from themes/shijin4/layouts/partials/sidebar_articles.html rename to themes/shijin4/layouts/_partials/sidebar_articles.html diff --git a/themes/shijin4/layouts/partials/sidebar_blog.html b/themes/shijin4/layouts/_partials/sidebar_blog.html similarity index 100% rename from themes/shijin4/layouts/partials/sidebar_blog.html rename to themes/shijin4/layouts/_partials/sidebar_blog.html diff --git a/themes/shijin4/layouts/partials/sidebar_blogosphere.html b/themes/shijin4/layouts/_partials/sidebar_blogosphere.html similarity index 100% rename from themes/shijin4/layouts/partials/sidebar_blogosphere.html rename to themes/shijin4/layouts/_partials/sidebar_blogosphere.html diff --git a/themes/shijin4/layouts/partials/sidebar_events.html b/themes/shijin4/layouts/_partials/sidebar_events.html similarity index 100% rename from themes/shijin4/layouts/partials/sidebar_events.html rename to themes/shijin4/layouts/_partials/sidebar_events.html diff --git a/themes/shijin4/layouts/partials/sidebar_menu.html b/themes/shijin4/layouts/_partials/sidebar_menu.html similarity index 100% rename from themes/shijin4/layouts/partials/sidebar_menu.html rename to themes/shijin4/layouts/_partials/sidebar_menu.html diff --git a/themes/shijin4/layouts/partials/sidebar_news.html b/themes/shijin4/layouts/_partials/sidebar_news.html similarity index 100% rename from themes/shijin4/layouts/partials/sidebar_news.html rename to themes/shijin4/layouts/_partials/sidebar_news.html diff --git a/themes/shijin4/layouts/partials/single_generic.html b/themes/shijin4/layouts/_partials/single_generic.html similarity index 100% rename from themes/shijin4/layouts/partials/single_generic.html rename to themes/shijin4/layouts/_partials/single_generic.html diff --git a/themes/shijin4/layouts/shortcodes/alert-danger.html b/themes/shijin4/layouts/_shortcodes/alert-danger.html similarity index 100% rename from themes/shijin4/layouts/shortcodes/alert-danger.html rename to themes/shijin4/layouts/_shortcodes/alert-danger.html diff --git a/themes/shijin4/layouts/shortcodes/alert-donate.html b/themes/shijin4/layouts/_shortcodes/alert-donate.html similarity index 100% rename from themes/shijin4/layouts/shortcodes/alert-donate.html rename to themes/shijin4/layouts/_shortcodes/alert-donate.html diff --git a/themes/shijin4/layouts/shortcodes/alert-info.html b/themes/shijin4/layouts/_shortcodes/alert-info.html similarity index 100% rename from themes/shijin4/layouts/shortcodes/alert-info.html rename to themes/shijin4/layouts/_shortcodes/alert-info.html diff --git a/themes/shijin4/layouts/shortcodes/alert-warning.html b/themes/shijin4/layouts/_shortcodes/alert-warning.html similarity index 100% rename from themes/shijin4/layouts/shortcodes/alert-warning.html rename to themes/shijin4/layouts/_shortcodes/alert-warning.html diff --git a/themes/shijin4/layouts/shortcodes/html-escape.html b/themes/shijin4/layouts/_shortcodes/html-escape.html similarity index 100% rename from themes/shijin4/layouts/shortcodes/html-escape.html rename to themes/shijin4/layouts/_shortcodes/html-escape.html diff --git a/themes/shijin4/layouts/shortcodes/keyboard.html b/themes/shijin4/layouts/_shortcodes/keyboard.html similarity index 100% rename from themes/shijin4/layouts/shortcodes/keyboard.html rename to themes/shijin4/layouts/_shortcodes/keyboard.html diff --git a/themes/shijin4/layouts/blog_index/_index.html b/themes/shijin4/layouts/blog_index/_index.html new file mode 100644 index 000000000..9bdbd751b --- /dev/null +++ b/themes/shijin4/layouts/blog_index/_index.html @@ -0,0 +1,21 @@ +
+

{{ .Title }}

+
+ {{ if (isset .Params "author") }} + Blog post by {{ .Params.author }} on {{ .Date.Format "Mon, 2006-01-02 15:04" }} + {{ else }} + News posted on {{ .Date.Format "Mon, 2006-01-02 15:04" }} + {{ end }} +
+ {{ range $i, $e := .Params.tags }}{{if $i}}, {{end}} + {{ end }} +
+
+

{{ .Summary }}

+ +
diff --git a/themes/shijin4/layouts/blog_index/li.html b/themes/shijin4/layouts/blog_index/li.html new file mode 100644 index 000000000..c47a921f6 --- /dev/null +++ b/themes/shijin4/layouts/blog_index/li.html @@ -0,0 +1,4 @@ +
  • +
    {{ .Title}}
    + posted on {{ .Date.Format "Mon, 2006-01-02 15:04" }}
    +
  • diff --git a/themes/shijin4/layouts/blog_index/list.html b/themes/shijin4/layouts/blog_index/list.html new file mode 100644 index 000000000..0fc126c27 --- /dev/null +++ b/themes/shijin4/layouts/blog_index/list.html @@ -0,0 +1,30 @@ +{{ partial "header.html" . }} +
    +{{ partial "navbar.html" . }} +
    + +
    + {{ partial "sidebar_blogosphere.html" . }} +
    + +
    + {{- if (isset .Params "author") -}} + {{ $paginator := .Paginate .RegularPages }} + + {{- range $paginator.Pages -}} + {{ .Render "summary" }} + {{- end -}} + {{ partial "pagination.html" . }} + {{ else }} + {{ $paginator := .Paginate (where (where .Site.RegularPages.ByDate.Reverse "Type" "blog") ".Params.date" "!=" nil) }} + + {{- range $paginator.Pages -}} + {{ .Render "summary" }} + {{- end -}} + {{ partial "pagination.html" . }} + {{- end -}} +
    +
    +{{ partial "footer.copyright.html" . }} +
    +{{ partial "footer.html" . }} diff --git a/themes/shijin4/layouts/blog_index/rss.xml b/themes/shijin4/layouts/blog_index/rss.xml new file mode 100644 index 000000000..edcee42bd --- /dev/null +++ b/themes/shijin4/layouts/blog_index/rss.xml @@ -0,0 +1,13 @@ + + + Recent blog posts on {{ .Site.Title }} + {{ .Permalink }} + en-US + Haiku, Inc. + (C) 2001-{{ now.Format "2006" }} Haiku, Inc. All rights reserved. + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" }} + {{- range first 15 (where (where .Site.RegularPages.ByDate.Reverse "Type" "blog") ".Params.date" "!=" nil) -}} + {{ partial "item.xml" . }} + {{- end -}} + + diff --git a/themes/shijin4/layouts/blog_index/single.html b/themes/shijin4/layouts/blog_index/single.html new file mode 100644 index 000000000..317613c77 --- /dev/null +++ b/themes/shijin4/layouts/blog_index/single.html @@ -0,0 +1,30 @@ +{{ partial "header.html" . }} +
    +{{ partial "navbar.html" . }} +
    +
    +
    +

    {{ .Title }}

    +
    + Blog post by {{ .Params.author }} on {{ .Date.Format "Mon, 2006-01-02 15:04" }} + {{ if .Params.tags }} +
    + {{ range $i, $e := .Params.tags }}{{if $i}}, {{end}} + {{ end }} +
    + {{ end }} +
    +

    {{ .Content }}

    +
    +
    + {{ partial "discourse.html" . }} +
    + + +
    + {{ partial "sidebar_blog.html" . }} +
    +
    +{{ partial "footer.copyright.html" . }} +
    +{{ partial "footer.html" . }} diff --git a/themes/shijin4/layouts/blog_index/summary.html b/themes/shijin4/layouts/blog_index/summary.html new file mode 100644 index 000000000..9bdbd751b --- /dev/null +++ b/themes/shijin4/layouts/blog_index/summary.html @@ -0,0 +1,21 @@ +
    +

    {{ .Title }}

    +
    + {{ if (isset .Params "author") }} + Blog post by {{ .Params.author }} on {{ .Date.Format "Mon, 2006-01-02 15:04" }} + {{ else }} + News posted on {{ .Date.Format "Mon, 2006-01-02 15:04" }} + {{ end }} +
    + {{ range $i, $e := .Params.tags }}{{if $i}}, {{end}} + {{ end }} +
    +
    +

    {{ .Summary }}

    + +
    diff --git a/themes/shijin4/layouts/index.html b/themes/shijin4/layouts/home.html similarity index 98% rename from themes/shijin4/layouts/index.html rename to themes/shijin4/layouts/home.html index cb45f139a..6ee0ab4d4 100644 --- a/themes/shijin4/layouts/index.html +++ b/themes/shijin4/layouts/home.html @@ -7,7 +7,7 @@ Home | {{ .Site.Title }} - {{ partial "header.includes.html" . }} + {{ partial "header_includes.html" . }} {{ if (.OutputFormats.Get "RSS") }}{{ end }} diff --git a/themes/shijin4/layouts/taxonomy/article.terms.html b/themes/shijin4/layouts/taxonomy.html similarity index 100% rename from themes/shijin4/layouts/taxonomy/article.terms.html rename to themes/shijin4/layouts/taxonomy.html diff --git a/themes/shijin4/layouts/taxonomy/tag.html b/themes/shijin4/layouts/term.html similarity index 100% rename from themes/shijin4/layouts/taxonomy/tag.html rename to themes/shijin4/layouts/term.html