Giter VIP home page Giter VIP logo

Comments (6)

the-chronomancer avatar the-chronomancer commented on May 16, 2024

Same exact issue here on the same Hugo version, but was able to build this by changing this (line 22) in rss.xml:
{{ .Site.Language.LanguageCode }}{{ with .Site.Author.email }}
To this:
{{ .Site.LanguageCode }}{{ with .Site.Author.email }}

It seems the ability to select a language disappears, however.

from hugo-blog-awesome.

hugo-sid avatar hugo-sid commented on May 16, 2024

Thanks @nibl, @the-chronomancer & @InSpaceDude for reporting this.

I don't see any error with the latest version of Hugo (v0.120.4). See the screenshot below for more details.

image

from hugo-blog-awesome.

github-actions avatar github-actions commented on May 16, 2024

This issue has been marked stale due to inactivity. It will auto-close in 7 days without an update.

from hugo-blog-awesome.

paddy-exe avatar paddy-exe commented on May 16, 2024

@hugo-sid I am encountering this issue now as well:
It doesn't appear when building locally but using the hugo action doesn't work anymore to publish the changes

Local

image

GitHub action:

image

Edit: After some more inspections I found an inconsistency that could be the the culprit:

Take a look at the small site whereas everywhere else .Site is used

 <language>{{ site.Language.LanguageCode }}</language>{{ with .Site.Author.email }}
 <language>{{ .Site.LanguageCode }}</language>{{ with .Site.Author.email }}

Never mind... it is still broken because I can't use my own fork for the hugo action -.-

from hugo-blog-awesome.

paddy-exe avatar paddy-exe commented on May 16, 2024

Alright after a LOOONG look at it again, I solved it now. It doesn't work with the GitHub Action because the action uses an older version of hugo.

@nibl @the-chronomancer Make sure you have hugo set to the latest version:

jobs:
  # Build job
  build:
    runs-on: ubuntu-latest
    env:
      HUGO_VERSION: 0.120.4

I had mine before on HUGO_VERSION: 0.111.2

from hugo-blog-awesome.

hugo-sid avatar hugo-sid commented on May 16, 2024

Make sure you have hugo set to the latest version:

Thanks @paddy-exe for confirming that this issue doesn't exist in Hugo (v0.120.4).

I'm closing this issue for now. Please feel free to reopen/comment if anyone encounters this issue again.

from hugo-blog-awesome.

Related Issues (20)

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.