about summary refs log tree commit diff stats
path: root/internal/builder/tags.templ
diff options
context:
space:
mode:
Diffstat (limited to 'internal/builder/tags.templ')
-rw-r--r--internal/builder/tags.templ23
1 files changed, 0 insertions, 23 deletions
diff --git a/internal/builder/tags.templ b/internal/builder/tags.templ
deleted file mode 100644
index 14abca4..0000000
--- a/internal/builder/tags.templ
+++ /dev/null
@@ -1,23 +0,0 @@
-package builder
-
-import "website/internal/config"
-
-templ tagLink(tag string, attrs templ.Attributes) {
-	<a { attrs... } href={ templ.SafeURL("/tags/" + tag) }>#{ tag }</a>
-}
-
-templ tagsPage(config config.Config, title string, tags []string, path string) {
-	@page(config, PageSettings{
-		Title: title,
-		Path:  path,
-	}) {
-		<h3 class="filter">Tags</h3>
-		<ul class="tags">
-			for _, tag := range tags {
-				<li class="h-feed">
-					@tagLink(tag, templ.Attributes{})
-				</li>
-			}
-		</ul>
-	}
-}