From 9dc44d5b04092c54a2a16ce03a41423a7a434572 Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Date: Sat, 16 May 2026 23:36:10 +0000
Subject: [PATCH] fix: remove deprecated partials
---
/dev/null | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/layouts/_partials/func/warn.html b/layouts/_partials/func/warn.html
deleted file mode 100644
index 8be191e..0000000
--- a/layouts/_partials/func/warn.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{{/*
- warn
- Emits a warning using the theme's Header.
-
- @author @regisphilibert
-
- @context String
-
- @access private
-
- @example - Go Template
- {{ partials.Include "func/warn.html" $message }}
-*/}}
-{{ $header := "Ananke Theme Warning" }}
-{{ fmt.Warnf "\n%s:\n%s" $header . }}
diff --git a/layouts/_partials/summary-with-image.html b/layouts/_partials/summary-with-image.html
deleted file mode 100644
index ef940ac..0000000
--- a/layouts/_partials/summary-with-image.html
+++ /dev/null
@@ -1,32 +0,0 @@
-{{ partials.Include "func/warn.html" `You are currently using 'partial "summary-with-image"' in your project templates.
-You should replace it with '.Render "summary-with-image"' as the use of this partial will be deprecated in future releases.
-More info here: https://github.com/gohugo-ananke/ananke/releases/tag/v2.8.1` }}
-{{ $featured_image := partials.Include "func/GetFeaturedImage.html" . }}
-<article class="bb b--black-10">
- <div class="db pv4 ph3 ph0-l dark-gray no-underline">
- <div class="flex-column flex-row-ns flex">
- {{ if $featured_image }}
- {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
- <div class="{{ compare.Conditional (compare.Eq $.Site.Language.Direction "rtl") "pl3-ns" "pr3-ns" }} mb4 mb0-ns w-100 w-40-ns">
- <a href="{{.RelPermalink}}" class="db grow">
- <img src="{{ $featured_image }}" class="img" alt="image from {{ .Title }}">
- </a>
- </div>
- {{ end }}
- <div class="blah w-100{{ if $featured_image }} w-60-ns {{ compare.Conditional (compare.Eq $.Site.Language.Direction "rtl") "pr3-ns" "pl3-ns" }}{{ end }}">
- <h1 class="f3 fw1 athelas mt0 lh-title">
- <a href="{{.RelPermalink}}" class="color-inherit dim link">
- {{ .Title }}
- </a>
- </h1>
- <div class="f6 f5-l lh-copy nested-copy-line-height nested-links">
- {{ .Summary }}
- </div>
- {{ with .Params.author | compare.Default .Site.Params.author }}
- <p class="f6 lh-copy mv0">By {{ . }}</p>
- {{- end -}}
- <a href="{{.RelPermalink}}" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">{{ $.Param "read_more_copy" | compare.Default (lang.Translate "readMore") }}</a>
- </div>
- </div>
- </div>
-</article>
diff --git a/layouts/_partials/summary.html b/layouts/_partials/summary.html
deleted file mode 100644
index a3e3b4d..0000000
--- a/layouts/_partials/summary.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{{ partials.Include "func/warn.html" `You are currently using 'partial "summary"' in your project templates.
-You should replace it with '.Render "summary"' as the use of this partial will be deprecated in future releases.
-More info here: https://github.com/gohugo-ananke/ananke/releases/tag/v2.8.1` }}
-<div class="w-100 mb4 nested-copy-line-height relative bg-white">
- <div class="mb3 pa4 gray overflow-hidden bg-white">
- <span class="f6 db">{{ inflect.Humanize .Section }}</span>
- <h1 class="f3 near-black">
- <a href="{{ .RelPermalink }}" class="link black dim">
- {{ .Title }}
- </a>
- </h1>
- <div class="nested-links f5 lh-copy nested-copy-line-height">
- {{ .Summary }}
- </div>
- </div>
-</div>
--
Gitblit v1.10.0