Commit Graph

9 Commits

Author SHA1 Message Date
Alice bbea1befdb
Use relative path for CSS (#16)
We should use a relative path for the CSS URL for sites that do not run from the root path (eg. https://example.com/mywebsite)
2023-05-21 13:22:50 -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
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 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 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 e27fbc792d old work pushed 2023-01-30 13:14:33 -06:00