Skip to main content
  1. Posts/

How to setup Hugo - Part 2

·360 words·2 mins
Mateusz Iskrzak
Author
Mateusz Iskrzak
Table of Contents
Testing - This article is part of a series.
Part 1: This Article

This is my first post
#

This is a subheading
#

This is a subsubheading
#

This is a subsubsubheading with emojis 🚀
#

This is a paragraph with bold and italic text. Check more at Blowfish documentation undefined

Sample table
#

Header 1 Header 2 Header 3
Row 1, Col 1 Row 1, Col 2 Row 1, Col 3
Row 2, Col 1 Row 2, Col 2 Row 2, Col 3
Row 3, Col 1 Row 3, Col 2 Row 3, Col 3

Sample diagram
#

graph TD A[Start] --> B{Is it?} B -->|Yes| C[OK] C --> D[Rethink] D --> B B ---->|No| E[End]

Sample icons
#

Sample image
#

This is a sample image

Small change for testingg..

Code Highlighting
#

Hugo supports syntax highlighting for code blocks. You can use it like this:

package main

import "fmt"

func main() {
    fmt.Println("Hello, World!")
}

Sample Shortcodes
#

Hugo has a powerful shortcode feature that allows you to create custom snippets of content. Here are some examples:

Example KaTeX Math
#

\(f(a,b,c) = (a^2+b^2+c^2)^3\)

Hugo supports rendering math using KaTeX. You can use it like this:

Inline math: ( E = mc^2 )

Block math: $$ \begin{aligned} a^2 + b^2 &= c^2 \ e^{i\pi} + 1 &= 0 \end{aligned} $$

% KaTeX inline notation Inline notation: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)

Example Chart
#

Hugo supports rendering charts using Chart.js. You can use it like this:

Bar chart
#

Line chart
#

Doughnut chart
#

Warning! This action is destructive!
Don’t forget to follow me on Twitter.
nunocoracao/blowfish

Personal Website & Blog Theme for Hugo

HTML
1377
387
When life gives you lemons, make lemonade.
graph LR; A[Lemons]-->B[Lemonade]; B-->C[Profit]
  1. header

    badge test

    subheader

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non magna ex. Donec sollicitudin ut lorem quis lobortis. Nam ac ipsum libero. Sed a ex eget ipsum tincidunt venenatis quis sed nisl. Pellentesque sed urna vel odio consequat tincidunt id ut purus. Nam sollicitudin est sed dui interdum rhoncus.
  2. Another Awesome Header

    date - present

    Awesome Subheader

    With html code
    • Coffee
    • Tea
    • Milk
  3. Shortcodes

    AWESOME

    With other shortcodes

Testing - This article is part of a series.
Part 1: This Article