Build Status

MAUPP Website

Updating content

  1. Install Hugo
  2. Clone the repository: git clone https://github.com/yannforget/maupp-website
  3. Live preview of the changes: hugo serve
  4. Edit content with a text editor, or create a pre-filled file content with: hugo new <content-type>/<filename.md>
  5. Close the live preview: Ctrl+C
  6. Commit: git add <files>, git commit -m "<message>"
  7. Push: git push origin master

Content can also be updated directly from Github.

Media

Images can be added in the /static/images/ folder, and can be accessed in markdown: ![My image](/images/my_image.png).

Content type

  • page: basic web page.
  • people: person working on the project.
  • partner: departement or institution working on the project.
  • news: dated & authored news.

Syntax

Metadata block

For examples regarding the editing of the metadata block, see existing content in /content/ or templates in /archetypes/.

Content