Skip to content

Commit

Permalink
Merge pull request #1078 from nunocoracao/956-missing-pointer-cursor-…
Browse files Browse the repository at this point in the history
…for-tag-badge-in-article-view

Missing pointer-cursor for tag-badge in article view
  • Loading branch information
nunocoracao authored Dec 1, 2023
2 parents 7a1db33 + 24cd703 commit 723da1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions exampleSite/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
```

<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
<span class="flex items-center ltr:pr-3 rtl:pl-3 text-primary-400">
{{< icon "triangle-exclamation" >}}
Expand Down
6 changes: 3 additions & 3 deletions layouts/partials/article-meta/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{{ end }}


<div class="flex flex-row flex-wrap items-center">
<div style="cursor: default;" class="flex flex-row flex-wrap items-center">
{{/* Output partials */}}
{{ with ($meta.Get "partials") }}
{{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" | safeHTML }}
Expand All @@ -60,7 +60,7 @@
</div>

{{ if .Params.showAuthorsBadges | default (.Site.Params.article.showAuthorsBadges | default false) }}
<div class="flex flex-row flex-wrap items-center">
<div style="cursor: pointer;" class="flex flex-row flex-wrap items-center">
{{ range $taxonomy, $terms := .Site.Taxonomies }}
{{ if (eq $taxonomy "authors")}}
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
Expand All @@ -75,7 +75,7 @@

{{/* Output taxonomies */}}
{{ if .Params.showTaxonomies | default (.Site.Params.article.showTaxonomies | default false) }}
<div class="flex flex-row flex-wrap items-center">
<div style="cursor: pointer;" class="flex flex-row flex-wrap items-center">
{{ range $taxonomy, $terms := .Site.Taxonomies }}
{{ if and (not (eq $taxonomy "authors")) (not (eq $taxonomy "series"))}}
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
Expand Down

0 comments on commit 723da1a

Please sign in to comment.