Commit Graph

20 Commits

Author SHA1 Message Date
Eamon Caddigan 37c9ef6b0d Displaying update time on single posts 2023-07-20 20:04:15 -07:00
Robert Lützner 8678494542
feat: add a shortcode for 'video' (#10)
This shortcode will add a video element embedded in a `<figure>` with an
optional `<figcaption>`.

This fixes #1.
2023-05-17 20:14:46 -05:00
Robert Lützner bbbc85d824
feat: add params.navbar_style to config to select a style for the navbar (#14)
This is a new feature in readable.css 1.1.0. The new version of
readable.css defaults to a navbar without animations, but to stay
compatible with older releases of this theme, we default to "classy"
instead which is the animated navbar.

The new navbar styles also look better without wrapping the elements
inside a `<span>`, so we make that conditional and only apply it when
the "classy" style is chosen.
2023-05-17 20:13:27 -05:00
Robert Lützner e0098cfafd
CI: Add GitHub workflow to check for readable.css updates (#15)
This adds a workflow and accompanying script to update readable.css. The
script gets the latest tag version from the readable.css repository on
codeberg.org and compares it to the currently used version. If the
versions don't match up, we download readable.css and readable.min.css
from Codeberg and update layouts/partials/head.html.
2023-05-17 20:10:19 -05:00
Benjamin Hollon f3327bc67c
Update to readable.css v1.1.0 (#13)
* Update to readable.css v1.1.0

data-style="classy" was also added to the <nav> element to preserve the
same style as the previous default.

* Use minified version of readable.css to save bandwidth

The readable.css file is kept for readability sake of people using this
template.

---------

Co-authored-by: Benjamin Hollon <me@benjaminhollon.com>
2023-05-02 16:15:28 -05:00
Robert Lützner bcd26f888b
docs: add development.md with a section on how to add a fork as a remote (#11) 2023-02-27 10:42:32 -06:00
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