From 7ab6e3802d8f01ee5f0e5f71d726f12b28e5ac2d Mon Sep 17 00:00:00 2001 From: Fliegerjohn Date: Fri, 1 Nov 2024 13:47:59 +0100 Subject: [PATCH] rebrand to smolsite --- README.md | 16 ++++++++-------- archetypes/news.md | 11 +++++++++++ theme.toml | 6 +++--- 3 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 archetypes/news.md diff --git a/README.md b/README.md index c1b2271..7e7398d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# smol +# smolsite -A minimal, monospaced blogging theme for Hugo that respects your privacy and is easy on your bandwidth. +A minimal, monospaced site theme for Hugo that respects your privacy and is easy on your bandwidth. -smol is based on [Blank](https://github.com/Vimux/Blank) created by [Vimux](https://github.com/Vimux). +smolsite is based on [Smol](https://git.datenkastl.org/fliegerjohn/smol). ![Screenshot](/images/tn.png) @@ -19,13 +19,13 @@ smol is based on [Blank](https://github.com/Vimux/Blank) created by [Vimux](http In your Hugo site `themes` directory, run: ``` -git clone https://git.datenkastl.org/fliegerjohn/smol.git +git clone https://git.datenkastl.org/fliegerjohn/smolsite.git ``` -Next, open `config.toml` in the base of the Hugo site and ensure the theme option is set to `smol`. +Next, open `config.toml` in the base of the Hugo site and ensure the theme option is set to `smolsite`. ``` -theme = "smol" +theme = "smolsite" ``` 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. @@ -85,11 +85,11 @@ You can add captions to images (technically using `
` HTML tags) by a ## Contributing -Have you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](https://git.datenkastl.org/fliegerjohn/smol/issues)to let me know. Or make directly a [pull request](https://git.datenkastl.org/fliegerjohn/smol/pulls). +Have you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](https://git.datenkastl.org/fliegerjohn/smolsite/issues)to let me know. Or make directly a [pull request](https://git.datenkastl.org/fliegerjohn/smolsite/pulls). ## License -This theme is released under the [MIT license](https://git.datenkastl.org/fliegerjohn/smol/raw/branch/master/LICENSE.md). +This theme is released under the [MIT license](https://git.datenkastl.org/fliegerjohn/smolsite/raw/branch/master/LICENSE.md). ## Acknowledgements diff --git a/archetypes/news.md b/archetypes/news.md new file mode 100644 index 0000000..11e7cff --- /dev/null +++ b/archetypes/news.md @@ -0,0 +1,11 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +slug: {{ now.Format "2006-01-02" }}-{{ .Name | urlize }} +type: news +draft: true +categories: + - default +tags: + - default +--- diff --git a/theme.toml b/theme.toml index e295d2e..8b92f8c 100644 --- a/theme.toml +++ b/theme.toml @@ -1,10 +1,10 @@ -name = "smol" +name = "smolsite" license = "MIT" licenselink = "https://github.com/colorchestra/smol/blob/master/LICENSE.md" description = "Minimal Hugo theme using a Monospace font and without any tracking or external dependencies." homepage = "https://github.com/colorchestra/smol" -tags = ["blog", "minimal", "monospace", "dark mode", "simple", "clean", "light", "responsive", "fast", "no-js", "no-tracking", "privacy"] -features = ["blog", "privacy", "responsive", "fast"] +tags = ["minimal", "monospace", "dark mode", "simple", "clean", "light", "responsive", "fast", "no-js", "no-tracking", "privacy"] +features = ["privacy", "responsive", "fast"] min_version = "0.20" [author]