From 24cd703277248e359874c41b8cd93fb3084cabe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Fri, 1 Dec 2023 13:15:45 +0000 Subject: [PATCH] Missing pointer-cursor for tag-badge in article view --- exampleSite/content/_index.md | 4 ---- layouts/partials/article-meta/basic.html | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index eeb5c04f..312cf241 100755 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -5,10 +5,6 @@ description: "This is a demo of the Blowfish theme for Hugo." This is a demo site built entirely using Blowfish. It also contains a complete set of [theme documentation]({{< ref "docs" >}}). Blowfish is flexible and is great for both static page-based content (like this demo) or a traditional blog with a feed of recent posts. -``` -var blowfish = require('blowfish'); -``` -
{{< icon "triangle-exclamation" >}} diff --git a/layouts/partials/article-meta/basic.html b/layouts/partials/article-meta/basic.html index dcb87597..8608663f 100644 --- a/layouts/partials/article-meta/basic.html +++ b/layouts/partials/article-meta/basic.html @@ -47,7 +47,7 @@ {{ end }} -
+
{{/* Output partials */}} {{ with ($meta.Get "partials") }} {{ delimit . "·" | safeHTML }} @@ -60,7 +60,7 @@
{{ if .Params.showAuthorsBadges | default (.Site.Params.article.showAuthorsBadges | default false) }} -
+
{{ range $taxonomy, $terms := .Site.Taxonomies }} {{ if (eq $taxonomy "authors")}} {{ if (gt (len ($context.GetTerms $taxonomy)) 0) }} @@ -75,7 +75,7 @@ {{/* Output taxonomies */}} {{ if .Params.showTaxonomies | default (.Site.Params.article.showTaxonomies | default false) }} -
+
{{ range $taxonomy, $terms := .Site.Taxonomies }} {{ if and (not (eq $taxonomy "authors")) (not (eq $taxonomy "series"))}} {{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}