From 3a02cdc96e6fc3c0530de8b14f031fd2c23aa0be Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Tue, 20 May 2025 01:05:47 -0400 Subject: [PATCH] Add tags to index.html --- layouts/index.html | 32 +++++++++++++++++++++++--------- static/css/styles.css | 5 +++++ 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 0ac21a2..7602d17 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,12 +1,26 @@ {{ define "main" }} {{ .Content }} -

Posts

- +

Tags

+ {{ range .Site.Taxonomies.tags }} +
+

{{ .Page.Title }} ({{ len . }})

+
+ {{ end }} +

All Pages

+ {{ end }} diff --git a/static/css/styles.css b/static/css/styles.css index f1ea81d..9eb54dd 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -629,3 +629,8 @@ body { border-width: 1px; border-style: solid; } + +summary > h3 { + color: purple; + display: inline; +}