Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 742 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 742 Bytes

In order to test the webpage locally:

hugo serve

This prints the URL at which you can preview the webpage (minus some files that are only on the server and not in Git). When files are modified, there is a JavaScript that will reload the browser window.

To create a new page:

hugo new content/news/openmodelica-1.21.0.md

And then edit the template in a text editor.

config.toml

The config.toml file contains parameters that can be used inside of articles. For example, it is possible to write code like:

Report bugs in [GitHub]({{< param "bugreporting" >}})

There are also parameters for the release, stable and nightly versions that can be used to generate webpages.