Giter Site home page Giter Site logo

setsevireon / photophobia Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 4.0 1.42 MB

A boring dark theme for Hugo.

Home Page: https://setsevireon.github.io/photophobia

License: MIT License

HTML 92.32% CSS 5.77% JavaScript 1.91%
gohugo gohugo-theme hugo hugo-theme tailwindcss theme

photophobia's Introduction

Top Langs

E-mail LinkedIn Website

photophobia's People

Contributors

dependabot[bot] avatar setsevireon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

photophobia's Issues

Error building site: render of "404" failed

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.

Build Hugo logs
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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.