Git Product home page Git Product logo

Comments (4)

3835 avatar 3835 commented on July 25, 2024 1

Now it is simple :)
Thank you very much for help!

from liquorice.

eliasson avatar eliasson commented on July 25, 2024

What do you mean with static page? All pages in hugo are static. Use

$ hugo add foo.md
$ hugo serve --theme=liquorice

You can now view that page at url http://localhost:1313/foo/

from liquorice.

3835 avatar 3835 commented on July 25, 2024

Yes, yes know that all hugo pages are static. I'm sorry, I asked the wrong question,
I mean how to add a menu for "static" page like "About Hugo", "tutorial", etc. from demo.
screen

from liquorice.

eliasson avatar eliasson commented on July 25, 2024

Hugo has a feature called Menus, where you can add menu items in your site's configuration file, e.g. in config.toml you can add:

[[menu.main]]
    name = "foo"
    url = "/foo/"

[[menu.main]]
    name = "Google"
    url = "http://www.google.com"

Liquorice theme renders the main menu in the page header.

You can read more on the subject here https://gohugo.io/extras/menus/

from liquorice.

Related Issues (9)

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.