Merge branch 'dev' into main

This commit is contained in:
Nuno Coração 2023-05-24 21:20:23 +01:00 committed by GitHub
commit ab2b979da4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 722 additions and 60 deletions

View file

@ -95,7 +95,7 @@ var getTargetAppearance = () => {
window.addEventListener("DOMContentLoaded", (event) => { window.addEventListener("DOMContentLoaded", (event) => {
const scroller = document.getElementById("top-scroller"); const scroller = document.getElementById("top-scroller");
const footer = document.getElementById("site-footer"); 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; scroller.hidden = true;
} }
}); });

View file

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

View file

@ -75,8 +75,10 @@ Real websites that are built with Blowfish.
| [hellstabber.github.io](https://hellstabber.github.io/) | Personal site | | [hellstabber.github.io](https://hellstabber.github.io/) | Personal site |
| [clemsau.com](https://clemsau.com/) | Personal site | | [clemsau.com](https://clemsau.com/) | Personal site |
| [lelouvincx.github.io](https://lelouvincx.github.io/) | Personal site | | [lelouvincx.github.io](https://lelouvincx.github.io/) | Personal site |
| [weaxsey.org](https://weaxsey.org/) | Personal site |
| [nikarashihatsu.github.io](https://nikarashihatsu.github.io/) | Personal site | | [nikarashihatsu.github.io](https://nikarashihatsu.github.io/) | Personal site |
{{< alert >}} {{< alert >}}
**Blowfish user?** To add your site to this list, [submit a pull request](https://github.com/nunocoracao/blowfish/blob/main/exampleSite/content/users/index.md). **Blowfish user?** To add your site to this list, [submit a pull request](https://github.com/nunocoracao/blowfish/blob/main/exampleSite/content/users/index.md).

View file

@ -1,5 +1,5 @@
{{ $time := now.UnixNano }} {{ $time := now.UnixNano }}
{{ $id := delimit (slice "gallery" $time) "-" }} {{ $id := delimit (slice "gallery" .Ordinal $time) "-" }}
<div id="{{ $id }}"> <div id="{{ $id }}">
{{ .Inner }} {{ .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", "name": "hugo-blowfish-theme",
"version": "2.33.2", "version": "2.34.0",
"description": "Blowfish theme for Hugo", "description": "Blowfish theme for Hugo",
"scripts": { "scripts": {
"fullinstall": "npm run preinstall && npm install && npm run postinstall", "fullinstall": "npm run preinstall && npm install && npm run postinstall",
@ -42,8 +42,8 @@
"packery": "^2.1.2", "packery": "^2.1.2",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"prettier-plugin-go-template": "^0.0.13", "prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.2.8", "prettier-plugin-tailwindcss": "^0.3.0",
"rimraf": "^5.0.0", "rimraf": "^5.0.1",
"tailwindcss": "^3.3.2", "tailwindcss": "^3.3.2",
"tw-elements": "1.0.0-beta2", "tw-elements": "1.0.0-beta2",
"typeit": "^8.7.1", "typeit": "^8.7.1",