Photoswipe Sample
Posted March 20, 2017 (Updated January 2, 2023)
| 2 minutes
| 372 words
| Some PersonBeautiful Hugo adds a few custom shortcodes use with PhotoSwipe.
[ReadĀ More]Math Sample
Using KaTeX
Posted March 5, 2017
| 1 minutes
| 138 words
| Some PersonKaTeX can be used to generate complex math formulas server-side. Add useKatex = true to the site configuration, or useKatex: true to the pageās Frontmatter to use KaTeX.
$$ \phi = \frac{(1+\sqrt{5})}{2} = 1.6180339887\cdots $$
Additional details can be found on GitHub or on the Wiki.
[ReadĀ More]Code Sample
Posted March 8, 2016 (Updated November 26, 2022)
| 1 minutes
| 137 words
| Some PersonTo get syntax highlighting set either the individual pageās Frontmatter with highlight: true or set highlight = true in config.toml. This will include the CSS needed for colors.
The following are two code samples using syntax highlighting.
[ReadĀ More]Test markdown
Each post also has a subtitle
Posted February 20, 2015
| 1 minutes
| 112 words
| Some PersonYou can write regular markdown here and Hugo will automatically convert it to a nice webpage. I strongly encourage you to take 5 minutes to learn how to write in markdown - itāll teach you how to transform regular text into bold/italics/headings/tables/etc.
Here is some bold text
Here is a secondary heading Itās reccommended to omit the first level of markdown headings, as that will be the page title.
Hereās a useless table:
[ReadĀ More]