Spedon ae1a08eb82 feat: embed threshold and index val of navbar into html/inline js (#241)
* feat: refactor image retrieval logic and improve variable initialization

- Add a new file `layouts/partials/function/getImageSlice.html`
- Initialize variables `$context`, `$Path`, and `$params`
- Set `$Path` based on the result of the `partial/function/currentMenuItem.html` partial
- Retrieve the page `$gallery` based on `$Path`
- Return all resources of type `image` from `$gallery`

* refactor: adapt getImageSlice function to `single.json`

* feat: refactor navigation UI components to use static go template

* feat: update navigation functionality and threshold rendering
2024-01-20 18:03:26 +08:00
2023-03-09 08:50:16 +08:00
2023-12-14 13:48:45 +08:00
2023-11-06 17:30:44 +08:00
2024-01-20 17:51:37 +08:00
2023-12-14 13:48:45 +08:00
2023-11-06 17:30:44 +08:00
2023-11-06 17:53:05 +08:00

Bridget

GitHub Workflow Status (with event) GitHub deployments

Bridget is a minimal Hugo theme designed for photographers / visual artists.

Its based on the https://github.com/tylermcrobert/bridget-pictures-www.

thumbnail

Demo Site

To see this theme in action, here is a live demo site which is rendered with Bridget theme.

Getting Started

Head to this documentation for a complete guidance to get started with the Bridget theme.

Features

  • Blazingly fast: 99/100 on mobile and 100/100 on desktop in Google PageSpeed Insights

  • JS dynamic loading (powered by ES6 syntax)

  • JS code splitting by rollup.js

  • Image Preloading/Lazy loading

  • Dynamic resolution based on view mode

  • Multiple analytics services supported

  • Search engine verification supported (Google, Bind, Yandex and Baidu)

Multilingual and i18n

Bridget supports the following languages:

Credits

Description
Bridget is a minimal Hugo theme for photographers/visual artists, powered by SolidJS.
Readme MIT 53 MiB
Languages
TypeScript 63.5%
HTML 18.5%
SCSS 12.5%
JavaScript 3%
Shell 1.5%
Other 1%