setsevireon / photophobia Goto Github PK
View Code? Open in Web Editor NEWA boring dark theme for Hugo.
Home Page: https://setsevireon.github.io/photophobia
License: MIT License
A boring dark theme for Hugo.
Home Page: https://setsevireon.github.io/photophobia
License: MIT License
Hi! You have a great theme! But I have a problem with hosting my Hugo blog on GitHub. I use this instructions and workflow crashes with error: render of "404" failed.
Run hugo \
hugo \
--gc \
--minify \
--baseURL "https://leksuss.github.io/leks.us/"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
HUGO_VERSION: 0.111.3
GITHUB_PAGES: true
HUGO_ENVIRONMENT: production
HUGO_ENV: production
Start building sites …
hugo v0.111.3-5d4eb5154e1fed1[2](https://github.com/leksuss/leks.us/actions/runs/4641713931/jobs/8214969157#step:7:2)5ca8e9b5a0[3](https://github.com/leksuss/leks.us/actions/runs/4641713931/jobs/8214969157#step:7:3)15c[4](https://github.com/leksuss/leks.us/actions/runs/4641713931/jobs/8214969157#step:7:4)180dab192+extended linux/amd64 BuildDate=2023-03-12T11:40:[5](https://github.com/leksuss/leks.us/actions/runs/4641713931/jobs/8214969157#step:7:5)0Z VendorInfo=gohugoio
Error: Error building site: render of "404" failed: "/home/runner/work/leks.us/leks.us/themes/photophobia/layouts/_default/baseof.html:45:29": execute of template failed: template: 404.html:45:29: executing "header" at <partial "site-header.html" .>: error calling partial: "/home/runner/work/leks.us/leks.us/themes/photophobia/layouts/partials/site-header.html:3:21": execute of template failed: template: partials/site-header.html:3:21: executing "partials/site-header.html" at <.Site.Home.RelPermalink>: error calling RelPermalink: runtime error: invalid memory address or nil pointer dereference
Total in 2[6](https://github.com/leksuss/leks.us/actions/runs/4641713931/jobs/8214969157#step:7:6) ms
Error: Process completed with exit code 255.
I found solution here. After moving 404.html
from layouts/404.html
to layouts/_default/404.html
build was successfully created.
Could you add support for the Google Analytics config option?
Seems it would be pretty simple based on this
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.