Compare commits

...

12 Commits

Author SHA1 Message Date
Nuno Coração 471704ebe8 Merge pull request #1718 from nunocoracao/dev
🔖 v2.77.1
2024-09-04 00:10:47 +01:00
Nuno Coração 8e9e5d0f33 fixed issue with previous release 2024-09-04 00:10:11 +01:00
Nuno Coração 5018b8b680 bump version 2024-09-03 23:46:41 +01:00
Nuno Coração b07ba75916 Merge pull request #1707 from nunocoracao/dev
🔖 v2.77.0
2024-09-03 23:45:55 +01:00
Nuno Coração e02dc652db update user list and version supported 2024-09-03 23:44:20 +01:00
Nuno Coração 97bd4f9e34 Merge pull request #1716 from nunocoracao/1695-update-mobile-menu-logic-to-rely-on-js
 Update mobile menu logic to rely on JS
2024-09-03 23:41:44 +01:00
Nuno Coração de1fa4a58d fix https://github.com/nunocoracao/blowfish/issues/1695 2024-09-03 23:40:54 +01:00
Nuno Coração 5ff365bd27 Merge pull request #1708 from Ast3risk-ops/docs-author-fix
✏️ Change author to params.author in the docs
2024-09-03 22:25:18 +01:00
Nuno Coração f514abfc98 Merge pull request #1710 from CommanderKen/patch-1
Update users.json
2024-09-03 22:24:46 +01:00
Commander Keen 51e94eddad Update users.json 2024-08-31 13:53:35 +02:00
Asterisk 09db4ca3f6 author -> params.author 2024-08-29 10:10:09 -04:00
Nuno Coração d5db97fb2d new version 2024-08-28 16:56:45 +01:00
14 changed files with 112 additions and 42 deletions
-15
View File
@@ -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"] *) {
-13
View File
@@ -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
View 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);
+1 -1
View File
@@ -2,4 +2,4 @@
[module.hugoVersion]
extended = true
min = "0.87.0"
max = "0.133.1"
max = "0.134.0"
@@ -136,16 +136,16 @@ The default file can be used as a template to create additional languages, or re
<!-- prettier-ignore-end -->
#### Author
##### Author
| Name | Default | Description |
| --------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. |
| `author.email` | _Not set_ | The author's email. This will be used if the reply-via-email functionality is enabled. |
| `author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio. The image can be placed in the site's `assets/` folder or can be external url. |
| `author.imageQuality` | `96` | The author's image file will be treated as a "high quality" image to minimize artifacts on the front page. Value range 1-100. |
| `author.headline` | _Not set_ | A Markdown string containing the author's headline. It will be displayed on the profile homepage under the author's name. |
| `author.bio` | _Not set_ | A Markdown string containing the author's bio. It will be displayed in article footers. |
| `author.links` | _Not set_ | The links to display alongside the author's details. The config file contains example links which can simply be uncommented to enable. The order that the links are displayed is determined by the order they appear in the array. Custom links can be added by providing corresponding SVG icon assets in `assets/icons/`. |
| `params.author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. |
| `params.author.email` | _Not set_ | The author's email. This will be used if the reply-via-email functionality is enabled. |
| `params.author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio. The image can be placed in the site's `assets/` folder or can be external url. |
| `params.author.imageQuality` | `96` | The author's image file will be treated as a "high quality" image to minimize artifacts on the front page. Value range 1-100. |
| `params.author.headline` | _Not set_ | A Markdown string containing the author's headline. It will be displayed on the profile homepage under the author's name. |
| `params.author.bio` | _Not set_ | A Markdown string containing the author's bio. It will be displayed in article footers. |
| `params.author.links` | _Not set_ | The links to display alongside the author's details. The config file contains example links which can simply be uncommented to enable. The order that the links are displayed is determined by the order they appear in the array. Custom links can be added by providing corresponding SVG icon assets in `assets/icons/`. |
<!-- prettier-ignore-end -->
### Menus
Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

@@ -0,0 +1,14 @@
---
title: "andrealucchini.com"
tags: [Sito personale, Blog]
externalUrl: "https://andrealucchini.com"
weight: 891
showDate: false
showAuthor: false
showReadingTime: false
showEdit: false
showLikes: false
showViews: false
layoutBackgroundHeaderSpace: false
---
@@ -0,0 +1,14 @@
---
title: "andrealucchini.com"
tags: [個人サイト, ブログ]
externalUrl: "https://andrealucchini.com"
weight: 891
showDate: false
showAuthor: false
showReadingTime: false
showEdit: false
showLikes: false
showViews: false
layoutBackgroundHeaderSpace: false
---
@@ -0,0 +1,13 @@
---
title: "andrealucchini.com"
tags: [Personal site,Blog]
externalUrl: "https://andrealucchini.com"
weight: 891
showDate: false
showAuthor: false
showReadingTime: false
showEdit: false
showLikes: false
showViews: false
layoutBackgroundHeaderSpace: false
---
@@ -0,0 +1,14 @@
---
title: "andrealucchini.com"
tags: [个人网站, 博客]
externalUrl: "https://andrealucchini.com"
weight: 891
showDate: false
showAuthor: false
showReadingTime: false
showEdit: false
showLikes: false
showViews: false
layoutBackgroundHeaderSpace: false
---
+10 -1
View File
@@ -739,5 +739,14 @@
"Personal Site",
"Blog"
]
},
{
"title": "andrealucchini.com",
"url": "https://andrealucchini.com",
"source": "https://github.com/CommanderKen/commanderken.github.io",
"tags": [
"Personal site",
"Blog"
]
}
]
]
+2
View File
@@ -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" }}
+2 -3
View File
@@ -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
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hugo-blowfish-theme",
"version": "2.76.0",
"version": "2.77.1",
"description": "Blowfish theme for Hugo.",
"scripts": {
"postinstall": "vendor-copy",