sped0n / bridget Goto Github PK
View Code? Open in Web Editor NEWBridget is a minimal Hugo theme for photographers/visual artists, powered by Solid.js.
Home Page: https://bridget-demo.sped0n.com
License: MIT License
Bridget is a minimal Hugo theme for photographers/visual artists, powered by Solid.js.
Home Page: https://bridget-demo.sped0n.com
License: MIT License
Is your feature request related to a problem? Please describe.
Now navigate bar index value is empty and will cause layout shift when we load the data into it.
Describe the solution you'd like
Use same method in single.json
to extract image array length.
Describe alternatives you've considered
Or just fill zeros into it
Additional context
Add any other context or screenshots about the feature request here.
Allow for navigating between pictures with the arrow keys after expanding them.
No response
Is your feature request related to a problem? Please describe.
If connection speed is limited, user might get a plain white background with no indicator and response while image is loading. Actually I think there is something wrong with the code when I first met this issue.
Describe the solution you'd like
Describe alternatives you've considered
n/a
Additional context
n/a
Describe the bug
In mobile view, if you scroll up and down in gallery, the images in collection will move as well, this is not intended behavior.
To Reproduce
In mobile view, scroll up and down in gallery.
Expected behavior
Collection should not be affected by scrolling in gallery.
Screenshots
n/a
Environment (please complete the following information):
n/a
Additional context
n/a
Describe the bug
In expand view, some image will keep loading.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Seems to related to the new preload logic
Apart from the already included web analytics services, I think it might also be worth adding GoatCounter
Having GoatCounter analytics with bridget will help a lot to those who are starting out.
[analytics.goatcounter]
code = "goatcounter_code"
No response
n/a
n/a
n/a
n/a
transfer from #347
n/a
n/a
n/a
Hello I am getting some errors when I am trying to install the theme.
`Start building sites …
hugo v0.120.4-f11bca5fec2ebb3a02727fb2a5cfb08da96fd9df+extended darwin/arm64 BuildDate=2023-11-08T11:18:07Z VendorInfo=brew
ERROR render of "page" failed: execute of template failed: template: _default/single.html:4:45: executing "main$htmltemplate_stateHTMLCmt" at <{{template "main$htmltemplate_stateHTMLCmt" .}}>: exceeded maximum template depth (100000)
ERROR render: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:4:45: executing "main$htmltemplate_stateHTMLCmt" at <{{template "main$htmltemplate_stateHTMLCmt" .}}>: exceeded maximum template depth (100000)
Built in 135 ms
Error: error building site: TOCSS: failed to transform "scss/style.scss" (text/x-scss): "/Users/macstudio/hugo/quick/themes/bridget/assets/scss/style.scss:10:1": File to import not found or unreadable: node_modules/swiper/swiper.scss.`
I have tried to install Swiper with NPM but it still does not work. What could be going wrong?
I have also made a thread on the Hugo forum.
Any help would be appreciated as this is an awesome theme!
Is your feature request related to a problem? Please describe.
it seems bundled
option bother some users, like #169, set a default value might be a better option.
Describe the solution you'd like
use hugo default
syntax
Describe alternatives you've considered
n/a
Additional context
quite busy with intern work and the end of semester, will push this when I got some time.
hugo new site sitename
cd sitename
git init
git submodule add https://github.com/Sped0n/bridget themes/bridget
hugo.toml
from project root# theme as module
[module]
replacements = "github.com/Sped0n/bridget/v2 -> themes/bridget" # deploy with local dir WARN: delete this line if you want to deploy with git
[[module.imports]]
path = "github.com/Sped0n/bridget/v2" # deploy with git (recommended) WARN: you should also set `bundled` to true in params.toml !!!
mkdir ./content/Info
hugo serve
Build a site, idk what else to say?
Watching for changes in /home/deadbeef/Documents/tomtakesphotos.com/{archetypes,assets,content,data,i18n,layouts,static}
Watching for config changes in /home/deadbeef/Documents/tomtakesphotos.com/hugo.toml, /home/deadbeef/Documents/tomtakesphotos.com/config/_default
Start building sites …
hugo v0.132.2-3fd26c70dff5934ec1802b9563530130ed1bca75+extended linux/amd64 BuildDate=2024-08-14T16:17:21Z VendorInfo=gohugoio
WARN found no layout file for "html" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN found no layout file for "json" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
| EN
-------------------+-----
Pages | 2
Paginator pages | 0
Non-page files | 0
Static files | 0
Processed images | 0
Aliases | 0
Cleaned | 0
Built in 5 ms
No response
v0.132.2 (extended)
v2.0.3
Linux Mint and Debian
Given I have used this template to create a website. When I include EXIF images within the /content location outlined within the template. Then the template is unable to reorient each image to display correctly with EXIF orientation tag
I recommend implementing something similar to discussion here: #363 (reply in thread)
No response
Is your feature request related to a problem? Please describe.
n/a
Describe the solution you'd like
getStarted.md
Describe alternatives you've considered
n/a
Additional context
n/a
Is your feature request related to a problem? Please describe.
No, that is a new feature.
Describe alternatives you've considered
The theme is awesome, like... emm..True Art! As the feature, is there any way to show exif
information as alt after zoom in the photo. The behaviour just like the way of star information showing in Stellarium.
Thank you very much!
Hi @Sped0n I just want to say thanks for launching this project and making it open-sourced. This is a beautiful theme and I'm thinking of using this for my GH Page. Great work! Much respect 🙏
Is your feature request related to a problem? Please describe.
og + twitter card
Describe the solution you'd like
ref from DoIt and hugo-theme-fuji
Describe alternatives you've considered
n/a
Additional context
quite busy with intern work and the end of semester, will push this when I got some time.
Is your feature request related to a problem? Please describe.
flashing when hires image finish loading
Describe the solution you'd like
CSS opacity transition
Describe alternatives you've considered
n/a
Additional context
n/a
hugo v0.128.2-de36c1a95d28595d8243fd8b891665b069ed0850+extended linux/arm64 BuildDate=2024-07-04T08:13:25Z VendorInfo=gohugoio
hugo new site blablabla
replacements = "github.com/Sped0n/bridget/v2 -> ../.."
to [...] -> bridget
(because it seems like hugo adds theme/ by default nowhugo
Site builds correctly
Building fails because of a menu variable called in HTML that is either empty or not defined somewhere
root@anubis:/var/www/photography# hugo -D
Start building sites …
hugo v0.128.2-de36c1a95d28595d8243fd8b891665b069ed0850+extended linux/arm64 BuildDate=2024-07-04T08:13:25Z VendorInfo=gohugoio
Total in 121 ms
Error: error building site: render: failed to render pages: render of "404" failed: "/var/www/photography/themes/bridget/layouts/404.html:3:8": execute of template failed: template: 404.html:3:8: executing "main" at <partial "nav.html" .>: error calling partial: "/var/www/photography/themes/bridget/layouts/partials/nav.html:12:16": execute of template failed: template: partials/nav.html:12:16: executing "partials/nav.html" at <len $menus>: error calling len: reflect: call of reflect.Value.Type on zero Value
No response
hugo v0.128.2-de36c1a95d28595d8243fd8b891665b069ed0850+extended
latest
Ubuntu Server 24.04 LTS
In Windows Chrome or Firefox, clicking a thumbnail portfolio image produces a .js error in the console. This is true of the demo and one running locally on my computer.
A higher res. version of the the photo is expected. The touch event works as expected on Android Chrome however.
No response
I don't think I have the skills to fix this, although AI tells me that "You might be trying to call slideTo before the slider library (like Swiper.js, Slick, or others) has finished setting up the slider object."
hugo v0.127.0
v2.0.2
Windows 11
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.