mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -06:00
Cursor adjustments to badges section in an article.
This commit is contained in:
parent
08305fe2f7
commit
f927990504
2 changed files with 6 additions and 8 deletions
|
@ -51,7 +51,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
<div style="cursor: default;" class="flex flex-row flex-wrap items-center">
|
<div 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 }}
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if .Params.showAuthorsBadges | default (.Site.Params.article.showAuthorsBadges | default false) }}
|
{{ if .Params.showAuthorsBadges | default (.Site.Params.article.showAuthorsBadges | default false) }}
|
||||||
<div style="cursor: pointer;" class="flex flex-row flex-wrap items-center">
|
<div 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) }}
|
||||||
|
@ -79,7 +79,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 style="cursor: pointer;" class="flex flex-row flex-wrap items-center">
|
<div 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) }}
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<span class="flex">
|
<span class="flex" style="cursor: pointer;">
|
||||||
<span
|
<span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400">
|
||||||
class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"
|
|
||||||
>
|
|
||||||
{{ . }}
|
{{ . }}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
Loading…
Reference in a new issue