mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 11:32:30 -06:00
Missing pointer-cursor for tag-badge in article view
This commit is contained in:
parent
7a1db331ee
commit
24cd703277
2 changed files with 3 additions and 7 deletions
|
@ -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.
|
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">
|
<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">
|
<span class="flex items-center ltr:pr-3 rtl:pl-3 text-primary-400">
|
||||||
{{< icon "triangle-exclamation" >}}
|
{{< icon "triangle-exclamation" >}}
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
<div class="flex flex-row flex-wrap items-center">
|
<div style="cursor: default;" class="flex flex-row flex-wrap items-center">
|
||||||
{{/* Output partials */}}
|
{{/* Output partials */}}
|
||||||
{{ with ($meta.Get "partials") }}
|
{{ with ($meta.Get "partials") }}
|
||||||
{{ delimit . "<span class=\"px-2 text-primary-500\">·</span>" | safeHTML }}
|
{{ delimit . "<span class=\"px-2 text-primary-500\">·</span>" | safeHTML }}
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if .Params.showAuthorsBadges | default (.Site.Params.article.showAuthorsBadges | default false) }}
|
{{ 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 }}
|
{{ range $taxonomy, $terms := .Site.Taxonomies }}
|
||||||
{{ if (eq $taxonomy "authors")}}
|
{{ if (eq $taxonomy "authors")}}
|
||||||
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
|
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
|
|
||||||
{{/* Output taxonomies */}}
|
{{/* Output taxonomies */}}
|
||||||
{{ if .Params.showTaxonomies | default (.Site.Params.article.showTaxonomies | default false) }}
|
{{ 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 }}
|
{{ range $taxonomy, $terms := .Site.Taxonomies }}
|
||||||
{{ if and (not (eq $taxonomy "authors")) (not (eq $taxonomy "series"))}}
|
{{ if and (not (eq $taxonomy "authors")) (not (eq $taxonomy "series"))}}
|
||||||
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
|
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
|
||||||
|
|
Loading…
Reference in a new issue