Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.14 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.14 KB

NAV Landing page

This is the NAV landing page used to provide https://nav.uninett.no/

The page is a static site, generated by Hugo.

Testing/development

While authoring content for the site, you can run the Hugo server to dynamically serve an updated site:

$ hugo server -D
Start building sites …

                   | EN
-------------------+-----
  Pages            | 92
  Paginator pages  |  0
  Non-page files   |  0
  Static files     | 29
  Processed images |  0
  Aliases          |  0
  Sitemaps         |  1
  Cleaned          |  0

Built in 55 ms
Watching for changes in /Users/mvold/d/nav-landing-page/{archetypes,content,data,layouts,static,themes}
Watching for config changes in /Users/mvold/d/nav-landing-page/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

Build the static site

Just run

$ hugo

and the entire static site will be built and placed in the public/ directory.