mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 14:35:43 -06:00
Merge branch 'subnavigation-feature-branch' into dev
This commit is contained in:
commit
e3eb3824f1
6 changed files with 19 additions and 7 deletions
|
@ -30,8 +30,8 @@
|
|||
</section>
|
||||
{{ end }}
|
||||
<script>
|
||||
var oid = "views_{{ .File.Path }}"
|
||||
var oid_likes = "likes_{{ .File.Path }}"
|
||||
var oid = "views_taxonomy_{{ .Data.Plural }}"
|
||||
var oid_likes = "likes_taxonomy_{{ .Data.Plural }}"
|
||||
</script>
|
||||
{{ $jsPage := resources.Get "js/page.js" }}
|
||||
{{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }}
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
<script>
|
||||
var oid = "views_{{ .File.Path }}"
|
||||
var oid_likes = "likes_{{ .File.Path }}"
|
||||
var oid = "views_term_{{ .Data.Term }}"
|
||||
var oid_likes = "likes_term_{{ .Data.Term }}"
|
||||
</script>
|
||||
{{ $jsPage := resources.Get "js/page.js" }}
|
||||
{{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }}
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
{{ if .Site.Params.enableSearch | default false }}
|
||||
<button id="search-button" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
title="{{ i18n " search.open_button_title" }}">
|
||||
title="{{ i18n "search.open_button_title" }}">
|
||||
{{ partial "icon.html" "search" }}
|
||||
</button>
|
||||
{{ end }}
|
||||
|
@ -68,7 +68,7 @@
|
|||
|
||||
{{ if .Site.Params.enableSearch | default false }}
|
||||
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
title="{{ i18n " search.open_button_title" }}">
|
||||
title="{{ i18n "search.open_button_title" }}">
|
||||
{{ partial "icon.html" "search" }}
|
||||
</button>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
<span>
|
||||
{{ if eq .Kind "taxonomy"}}
|
||||
<span id="likes_taxonomy_{{ .Page.Data.Plural }}" title="likes">0</span>
|
||||
{{ else if eq .Kind "term"}}
|
||||
<span id="likes_term_{{ .Page.Data.Term }}" title="likes">0</span>
|
||||
{{ else }}
|
||||
<span id="likes_{{ .File.Path }}" title="likes">0</span>
|
||||
{{ end }}
|
||||
<span class="inline-block align-text-bottom">{{ partial "icon.html" "heart" }}</span>
|
||||
</span>
|
||||
{{- /* Trim EOF */ -}}
|
|
@ -1,5 +1,11 @@
|
|||
<span>
|
||||
{{ if eq .Kind "taxonomy"}}
|
||||
<span id="views_taxonomy_{{ .Page.Data.Plural }}" title="views">0</span>
|
||||
{{ else if eq .Kind "term"}}
|
||||
<span id="views_term_{{ .Page.Data.Term }}" title="views">0</span>
|
||||
{{ else }}
|
||||
<span id="views_{{ .File.Path }}" title="views">0</span>
|
||||
{{ end }}
|
||||
<span class="inline-block align-text-bottom">{{ partial "icon.html" "eye" }}</span>
|
||||
</span>
|
||||
{{- /* Trim EOF */ -}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hugo-blowfish-theme",
|
||||
"version": "2.22.1",
|
||||
"version": "2.22.2",
|
||||
"description": "Blowfish theme for Hugo",
|
||||
"scripts": {
|
||||
"fullinstall": "npm run preinstall && npm install && npm run postinstall",
|
||||
|
|
Loading…
Reference in a new issue