From 6dedd8ebbc8a25bcd34669201853861d836d12e6 Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Date: Sun, 17 May 2026 08:08:31 +0000
Subject: [PATCH] feat: theme hooks and filters (#964)
---
layouts/single.html | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/layouts/single.html b/layouts/single.html
index 9afbcf9..7ee50ad 100644
--- a/layouts/single.html
+++ b/layouts/single.html
@@ -17,13 +17,7 @@
<article class="{{ $post_class }} flex-l {{ if $needs_aside }}mw8{{ else }}mw7{{ end }} center ph3 flex-wrap justify-between">
<header class="mt4 w-100">
- <aside class="instapaper_ignoref b helvetica tracked ttu">
- {{/*
- CurrentSection allows us to use the section title instead of inferring from the folder.
- https://gohugo.io/variables/page/#section-variables-and-methods
- */}}
- {{ .CurrentSection.Title }}
- </aside>
+ {{- partials.Include "hook.html" ( dict "hook" "article/section-link" "context" . ) -}}
{{- partials.IncludeCached "social/share.html" . . -}}
<h1 class="f1 athelas mt3 mb1">
{{- .Title -}}
--
Gitblit v1.10.0