No description
Find a file
2020-11-24 22:04:30 +01:00
archetypes Update default archetype template 2019-08-04 10:57:05 -04:00
layouts feat: Moved homepage out of <article> 2020-11-24 22:04:30 +01:00
static/css fix: Prettified CSS and removed ""dark"" mode 2020-11-24 18:58:41 +01:00
LICENSE.md fix LICENSE.md 2020-05-28 21:42:24 +02:00
README.md fix: Updated README 2020-11-24 19:01:04 +01:00
theme.toml update readme and license 2020-05-27 02:10:24 +02:00

smol

Forked by ptrcnull to make some customizations

A minimal, monospaced blogging theme for Hugo that respects your privacy and is easy on your bandwidth.

A real-life example can be found at https://ptrcnull.me.

smol is based on Blank created by Vimux.

Features

  • No JavaScript
  • No Google spyware or tracking of any kind
  • No other external dependencies, embedded fonts or comment sections

Installation

In your Hugo site themes directory, run:

git clone https://git.ddd.rip/ptrcnull/smol

Next, open config.toml in the base of the Hugo site and ensure the theme option is set to smol.

theme = "smol"

Lastly, add the following lines to your config.toml to set site parameters and make use of all the menu entries in the header and footer sections if you need them.

# Parameters
[params]
    subtitle = "Your blog subtitle goes here!"
    dateFmt = "02.01.2006 15:04"

# Header
[menu]
  [[menu.main]]
        identifier = "posts"
        name = "Posts"
        url = "/posts/"
        weight = 1 

  [[menu.main]]
        identifier = "categories"
        name = "Categories"
        url = "/categories/"
        weight = 2 

  [[menu.main]]
        identifier = "tags"
        name = "Tags"
        url = "/tags/"
        weight = 3

# Footer
  [[menu.footer]]
        name = "Github"
        url = "https://github.com/example"
        weight = 1 

    [[menu.footer]]
        name = "Mastodon"
        url = "https://example.com/@user"
        weight = 2 

    [[menu.footer]]
        name = "Imprint"
        url = "/imprint"
        weight = 3 

For more information read the official quick start guide of Hugo.

Contributing

Have you found a bug or got an idea for a new feature? Feel free to use the issue tracker to let me know. Or make directly a pull request.

License

This theme is released under the MIT license.