Merge pull request #735 from nunocoracao/dev

🔖 v2.34.0
This commit is contained in:
Nuno Coração 2023-05-23 12:51:03 +01:00 committed by GitHub
commit 3c0d54c41d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 721 additions and 60 deletions

View file

@ -95,7 +95,7 @@ var getTargetAppearance = () => {
window.addEventListener("DOMContentLoaded", (event) => {
const scroller = document.getElementById("top-scroller");
const footer = document.getElementById("site-footer");
if(scroller.getBoundingClientRect().top > footer.getBoundingClientRect().top) {
if(scroller && footer && scroller.getBoundingClientRect().top > footer.getBoundingClientRect().top) {
scroller.hidden = true;
}
});

View file

@ -2,4 +2,4 @@
[module.hugoVersion]
extended = true
min = "0.87.0 "
max = "0.111.3"
max = "0.112.0"

View file

@ -75,6 +75,7 @@ Real websites that are built with Blowfish.
| [hellstabber.github.io](https://hellstabber.github.io/) | Personal site |
| [clemsau.com](https://clemsau.com/) | Personal site |
| [lelouvincx.github.io](https://lelouvincx.github.io/) | Personal site |
| [weaxsey.org](https://weaxsey.org/) | Personal site |
{{< alert >}}

View file

@ -1,5 +1,5 @@
{{ $time := now.UnixNano }}
{{ $id := delimit (slice "gallery" $time) "-" }}
{{ $id := delimit (slice "gallery" .Ordinal $time) "-" }}
<div id="{{ $id }}">
{{ .Inner }}

768
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"name": "hugo-blowfish-theme",
"version": "2.33.2",
"version": "2.34.0",
"description": "Blowfish theme for Hugo",
"scripts": {
"fullinstall": "npm run preinstall && npm install && npm run postinstall",
@ -42,8 +42,8 @@
"packery": "^2.1.2",
"prettier": "^2.8.8",
"prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.2.8",
"rimraf": "^5.0.0",
"prettier-plugin-tailwindcss": "^0.3.0",
"rimraf": "^5.0.1",
"tailwindcss": "^3.3.2",
"tw-elements": "1.0.0-beta2",
"typeit": "^8.7.1",