Commit Graph

14 Commits

Author SHA1 Message Date
Robert Lützner f3247c7ede
docs: clarify the intended use of the 'aside' shortcode (#9)
The initial statement was wrong. There's no preferred way of doing
things.

Blockquotes are meant to hold actual quotes, whereas the aside element
can be used to signify content that is slightly off-topic in regards to
the rest of the post.
2023-02-24 20:54:51 -06:00
Robert Lützner 80cd7cf8f1
feat: add 'aside' as a shortcode (#6)
The README has been updated to show a code example of both, including an
exemplary screenshot.

Since Hugo 0.55, we have to use `markdownify` in shortcodes that contain
HTML elements. At least we have to, if we want to render markdown code
inside the HTML element.

To use the `<aside>` element, we have to wrap our content in an
`<article>` tag.

This fixes #4.

Co-authored-by: Robert Lützner <robert.luetzner@iternity.com>
2023-02-23 14:04:33 -06:00
Robert Lützner 82e5f2ccab
fix: make tag links relative to the root of the page (#8)
Previously when we clicked on a tag link, it would append the path to
where we currently were, e.g. clicking "tag" on a post in the `/posts/`
lists, would send us to `/posts/tags/tag` instead of `/tags/tag`.

This fixes #7.

Co-authored-by: Robert Lützner <robert.luetzner@iternity.com>
2023-02-23 14:01:33 -06:00
Robert Lützner 473add39bd
feat: load favicon if configured via params.favicon (#5)
This will display a favicon for the website. Favicons are cute little
icons that will show up on tabs in your browser, e.g. GitHub's mascot.
They can easily be generated by using online tools, e.g.

https://realfavicongenerator.net/

The resulting package only has to be downloaded and extracted into the
'static' directory of a Hugo website that is using this theme.

The path can then be set as follows in the config.yml:

```yaml
params:
  favicon: favicon.ico
```

This fixes #3.

Co-authored-by: Robert Lützner <robert.luetzner@iternity.com>
2023-02-22 12:59:35 -06:00
cjtheham 18e9cc19ea feat: update to v1.0.1 2023-02-16 13:51:44 -06:00
cjtheham 269415bf42 fix: render image 2023-02-16 13:50:05 -06:00
cjtheham 663aa7367b feat: rss feed to footer 2023-02-15 10:50:25 -06:00
cjtheham 4108b8dec3 fix: add meta description 2023-02-14 16:38:42 -06:00
cjtheham 18847fc3a3 fix: accessibility lang 2023-02-14 16:27:52 -06:00
cjtheham 1012b37cb2 quick README typo fixes 2023-02-13 13:26:04 -06:00
cjtheham f348645be9 updated documentation 2023-02-13 13:25:06 -06:00
cjtheham 4f04124938 remove unused file 2023-01-30 13:30:46 -06:00
cjtheham e27fbc792d old work pushed 2023-01-30 13:14:33 -06:00
CJ dad292e2fd
Initial commit 2023-01-30 13:11:19 -06:00