update theme
This commit is contained in:
parent
e5931500ec
commit
4474a11edb
|
@ -3182,21 +3182,6 @@ body button {
|
|||
display:none
|
||||
}
|
||||
|
||||
/* Hamburger menu */
|
||||
|
||||
body:has(#menu-controller:checked) {
|
||||
overflow-y:hidden
|
||||
}
|
||||
|
||||
#menu-button:has(#menu-controller:checked) {
|
||||
visibility:hidden
|
||||
}
|
||||
|
||||
#menu-controller:checked~#menu-wrapper {
|
||||
visibility:visible;
|
||||
opacity:1
|
||||
}
|
||||
|
||||
/* RTL support */
|
||||
|
||||
.prose blockquote:where([dir="rtl"], [dir="rtl"] *) {
|
||||
|
|
|
@ -29,19 +29,6 @@ body button {
|
|||
@apply hidden;
|
||||
}
|
||||
|
||||
/* Hamburger menu */
|
||||
body:has(#menu-controller:checked) {
|
||||
@apply overflow-y-hidden;
|
||||
}
|
||||
|
||||
#menu-button:has(#menu-controller:checked) {
|
||||
@apply invisible;
|
||||
}
|
||||
|
||||
#menu-controller:checked~#menu-wrapper {
|
||||
@apply visible opacity-100;
|
||||
}
|
||||
|
||||
/* RTL support */
|
||||
.prose blockquote {
|
||||
@apply rtl:pr-4 rtl:border-l-0 rtl:border-r-4;
|
||||
|
|
33
themes/blowfish/assets/js/mobilemenu.js
Normal file
33
themes/blowfish/assets/js/mobilemenu.js
Normal file
|
@ -0,0 +1,33 @@
|
|||
var menuButton = document.getElementById("menu-button");
|
||||
var menuCloseButton = document.getElementById("menu-close-button");
|
||||
var menuWrapper = document.getElementById("menu-wrapper");
|
||||
|
||||
var menuOpen = false;
|
||||
|
||||
var openMenu = function (e) {
|
||||
if (!menuOpen) {
|
||||
menuOpen = true;
|
||||
document.body.style.overflowY = "hidden";
|
||||
menuButton.style.visibility = "hidden";
|
||||
menuWrapper.style.visibility = "visible";
|
||||
menuWrapper.style.opacity = "1";
|
||||
window.onbeforeunload = function (event) {
|
||||
closeMenu()
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var closeMenu = function (e) {
|
||||
if (menuOpen) {
|
||||
menuOpen = false;
|
||||
document.body.style.overflowY = "auto";
|
||||
menuButton.style.visibility = "visible";
|
||||
menuWrapper.style.visibility = "hidden";
|
||||
menuWrapper.style.opacity = "0";
|
||||
window.onbeforeunload = function (event) { }
|
||||
e.stopPropagation();
|
||||
}
|
||||
}
|
||||
|
||||
menuButton.addEventListener("click", openMenu);
|
||||
menuCloseButton.addEventListener("click", closeMenu);
|
File diff suppressed because one or more lines are too long
1713
themes/blowfish/assets/lib/mermaid/mermaid.min.js
vendored
1713
themes/blowfish/assets/lib/mermaid/mermaid.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -2,4 +2,4 @@
|
|||
[module.hugoVersion]
|
||||
extended = true
|
||||
min = "0.87.0"
|
||||
max = "0.133.1"
|
||||
max = "0.135.0"
|
|
@ -67,6 +67,8 @@ sharing:
|
|||
reddit: "Submit to Reddit"
|
||||
twitter: "Tweet on Twitter"
|
||||
bluesky: "Post on Bluesky"
|
||||
whatsapp: "Share via WhatsApp"
|
||||
telegram: "Share via Telegram"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Recent"
|
||||
|
|
75
themes/blowfish/i18n/eo.yaml
Normal file
75
themes/blowfish/i18n/eo.yaml
Normal file
|
@ -0,0 +1,75 @@
|
|||
global:
|
||||
language: "EO"
|
||||
|
||||
article:
|
||||
anchor_label: "Ankro"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Ĝisdatigita: {{ .Date }}"
|
||||
draft: "Malneto"
|
||||
edit_title: "Redakti enhavon"
|
||||
reading_time:
|
||||
one: "{{ .Count }} min"
|
||||
other: "{{ .Count }} min"
|
||||
reading_time_title: "Legotempo"
|
||||
table_of_contents: "Enhavotabelo"
|
||||
word_count:
|
||||
one: "{{ .Count }} vorto"
|
||||
other: "{{ .Count }} vortoj"
|
||||
views:
|
||||
one: "{{ .Count }} vido"
|
||||
other: "{{ .Count }} vidoj"
|
||||
likes:
|
||||
one: "{{ .Count }} ŝato"
|
||||
other: "{{ .Count }} ŝatoj"
|
||||
part_of_series: "Tiu ĉi artikolo estas parto de serio."
|
||||
part: "Parto"
|
||||
this_article: "Tiu ĉi artikolo"
|
||||
related_articles: "Rilataj"
|
||||
zen_mode_title:
|
||||
enable: "Ŝalti zen-reĝimon"
|
||||
disable: "Malŝalti zen-reĝimon"
|
||||
|
||||
author:
|
||||
byline_title: "Aŭtoro"
|
||||
|
||||
code:
|
||||
copy: "Kopii"
|
||||
copied: "Kopiita"
|
||||
|
||||
error:
|
||||
404_title: "Paĝo ne trovita :confused:"
|
||||
404_error: "Eraro 404"
|
||||
404_description: "Ŝajnas, ke la paĝo, kiun vi petis, ne ekzistas."
|
||||
|
||||
footer:
|
||||
dark_appearance: "Ŝalti malhelan etoson"
|
||||
light_appearance: "Ŝalti helan etoson"
|
||||
powered_by: "Funciigata de {{ .Hugo }} & {{ .Theme }}"
|
||||
|
||||
list:
|
||||
externalurl_title: "Ligola al ekstera retejo"
|
||||
no_articles: "Ankoraŭ ne estas artikoloj ĉi tie listendaj."
|
||||
|
||||
nav:
|
||||
scroll_to_top_title: "Rulumi al supro"
|
||||
skip_to_main: "Salti al ĉefa enhavo"
|
||||
|
||||
search:
|
||||
open_button_title: "Serĉi (/)"
|
||||
close_button_title: "Fermi (Esc)"
|
||||
input_placeholder: "Serĉo"
|
||||
|
||||
sharing:
|
||||
email: "Sendi per retpoŝto"
|
||||
facebook: "Konigi en Facebook"
|
||||
linkedin: "Konigi en LinkedIn"
|
||||
pinterest: "Alpingli sur Pinterest"
|
||||
reddit: "Sendi al Reddit"
|
||||
twitter: "Pepi per Twitter"
|
||||
bluesky: "Afiŝi en Bluesky"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Freŝaj"
|
||||
|
||||
recent:
|
||||
show_more: "Montri pli"
|
|
@ -66,6 +66,8 @@
|
|||
{{ $jsRTL := resources.Get "js/rtl.js" }}
|
||||
{{ $assets.Add "js" (slice $jsRTL) }}
|
||||
{{ end }}
|
||||
{{ $jsMobileMenu := resources.Get "js/mobilemenu.js" }}
|
||||
{{ $assets.Add "js" (slice $jsMobileMenu) }}
|
||||
{{ if $assets.Get "js" }}
|
||||
{{ $bundleJS := $assets.Get "js" | resources.Concat "js/main.bundle.js" | resources.Minify | resources.Fingerprint
|
||||
"sha512" }}
|
||||
|
|
|
@ -93,8 +93,7 @@
|
|||
</div>
|
||||
<div class="-my-2 -mr-2 md:hidden">
|
||||
|
||||
<label id="menu-button" for="menu-controller" class="block">
|
||||
<input type="checkbox" id="menu-controller" class="hidden" />
|
||||
<label id="menu-button" class="block">
|
||||
{{ if .Site.Menus.main }}
|
||||
<div class="cursor-pointer hover:text-primary-600 dark:hover:text-primary-400">
|
||||
{{ partial "icon.html" "bars" }}
|
||||
|
@ -104,7 +103,7 @@
|
|||
<ul
|
||||
class="flex space-y-2 mt-3 flex-col items-end w-full px-6 py-6 mx-auto overflow-visible list-none ltr:text-right rtl:text-left max-w-7xl">
|
||||
|
||||
<li>
|
||||
<li id="menu-close-button">
|
||||
<span
|
||||
class="cursor-pointer inline-block align-text-bottom hover:text-primary-600 dark:hover:text-primary-400">{{
|
||||
partial
|
||||
|
|
1234
themes/blowfish/package-lock.json
generated
1234
themes/blowfish/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hugo-blowfish-theme",
|
||||
"version": "2.76.0",
|
||||
"version": "2.78.0",
|
||||
"description": "Blowfish theme for Hugo.",
|
||||
"scripts": {
|
||||
"postinstall": "vendor-copy",
|
||||
|
@ -34,23 +34,23 @@
|
|||
},
|
||||
"homepage": "https://github.com/nunocoracao/blowfish#readme",
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.14",
|
||||
"chart.js": "^4.4.3",
|
||||
"@tailwindcss/typography": "^0.5.15",
|
||||
"chart.js": "^4.4.4",
|
||||
"fuse.js": "^7.0.0",
|
||||
"jquery": "^3.7.1",
|
||||
"katex": "^0.16.11",
|
||||
"lite-youtube-embed": "^0.3.3",
|
||||
"mermaid": "^10.9.1",
|
||||
"mermaid": "^11.2.1",
|
||||
"packery": "^2.1.2",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-go-template": "^0.0.15",
|
||||
"prettier-plugin-tailwindcss": "^0.6.6",
|
||||
"puppeteer": "^23.2.0",
|
||||
"prettier-plugin-tailwindcss": "^0.6.8",
|
||||
"puppeteer": "^23.5.0",
|
||||
"rimraf": "^6.0.1",
|
||||
"tailwind-scrollbar": "^3.1.0",
|
||||
"tailwindcss": "^3.4.10",
|
||||
"tw-elements": "2.0.0",
|
||||
"typeit": "^8.8.4",
|
||||
"typeit": "^8.8.5",
|
||||
"vendor-copy": "^3.0.1"
|
||||
},
|
||||
"vendorCopy": [],
|
||||
|
@ -109,10 +109,10 @@
|
|||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"@headlessui/react": "^2.1.2",
|
||||
"@headlessui/react": "^2.1.8",
|
||||
"@heroicons/react": "^2.1.5",
|
||||
"@iamtraction/google-translate": "^2.0.1",
|
||||
"@tailwindcss/forms": "^0.5.7",
|
||||
"@tailwindcss/forms": "^0.5.9",
|
||||
"commander": "^12.1.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
v0.133.1
|
||||
v0.135.0
|
||||
|
|
Loading…
Reference in a new issue