Guide to editing this site

Guide to editing this site

September 30, 2024·viktorstrate
viktorstrate

This is a test post which outlines some features of this site.

Structure

  • New pages can be published by committing new markdown files to the contents/ directory.
  • News articles live in the contents/news/ directory.
  • The menu items can be changed from the hugo.yaml file.

Formatting

Here’s an overview of the formatting supported on the site. A more in-depth guide can be found in the documentation of the theme.

Markdown

All common Markdown formatting is supported.

Math

Besides that, Latex can be displayed if the math: true frontmatter attribute is enabled.

$$ \sigma(z) = \frac{1}{1 + e^{-z}} $$

Diagrams

Mermaid diagrams are supported!

sequenceDiagram
    Alice ->> Bob: Hello Bob, how are you?
    Bob-->>John: How about you John?
    Bob--x Alice: I am good thanks!
    Bob-x John: I am good thanks!
    Note right of John: Bob thinks a long
long time, so long
that the text does
not fit on a row. Bob-->Alice: Checking with John... Alice->John: Yes... John, how are you?