Coder Social home page Coder Social logo

Comments (6)

nishanths avatar nishanths commented on June 2, 2024

thanks for reporting! will look into this tonight.

from cocoa-hugo-theme.

nishanths avatar nishanths commented on June 2, 2024

TLDR: Set draft = false in the new post's front matter to make the link appear.

Long version

With

$ hugo version
Hugo Static Site Generator v0.16 BuildDate: 2016-06-06T07:37:59-05:00

I did the following commands:

$ hugo new site example
$ cd example
$ git clone https://github.com/nishanths/cocoa-hugo-theme.git themes/cocoa

Then copy config.toml and content from the theme:

$ cp -r themes/cocoa/content/* content/
$ cp themes/cocoa/config.toml .

Finally, created new post:

$ hugo new blog/your-new-post.md

Set draft = false in content/blog/your-new-post.md to make the link appear on front page.

(Don't forget to run hugo -t cocoa to regenerate.)

from cocoa-hugo-theme.

nishanths avatar nishanths commented on June 2, 2024

did not encounter the issue you described of parts of front page messing up. could you provide more details? thanks.

from cocoa-hugo-theme.

nimdajitam avatar nimdajitam commented on June 2, 2024

I'm very sorry for the trouble. I forgot to set draft parameter to false!

from cocoa-hugo-theme.

nimdajitam avatar nimdajitam commented on June 2, 2024

Moreover, when not regenerating content while running the server serving it, dates are not displayed correctly. This was apparently my mistake too. Thanks.

from cocoa-hugo-theme.

nishanths avatar nishanths commented on June 2, 2024

You're welcome :)

from cocoa-hugo-theme.

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.