aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md75
1 files changed, 75 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..af74eee
--- /dev/null
+++ b/README.md
@@ -0,0 +1,75 @@
+# no style, please!
+
+A (nearly) no-CSS, fast, minimalist [Zola](https://www.getzola.org/) theme.
+Ported from from [riggraz](https://riggraz.dev/)'s [no style, please! Jekyll theme](https://riggraz.dev/no-style-please/), and I use it for [my site](https://4b.cx/)
+
+![screenshot](./screenshot.png)
+
+## Installation
+
+First download this theme to your `themes` directory:
+
+```bash
+cd themes
+git clone https://gitlab.com/4bcx/no-style-please.git
+```
+
+and then enable it in your `config.toml`:
+
+```toml
+theme = "no-style-please"
+```
+
+## Options
+
+### Pages list in homepage
+
+To enable listing of pages in homepage add the following in `content\_index.md` frontmatter
+
+```toml
+[exta]
+list_pages = false
+```
+
+### Extra data
+
+- `author` can be set in both main config and in pages metadata
+- `image` variable can be used in pages to add an image to HTML `<meta>` tags
+- Same for `logo` in main config, except this one is also used as the site icon
+
+### Horizontal rule shortcode `hr()`
+
+Adds the option to insert text in the thematic break
+
+```html
+{{ hr(data_content="footnotes") }}
+```
+
+is rendered
+
+![thematic break screenshot](./hr_footnotes.png)
+
+### Invertable image `iimg()`
+
+Images are not inverted in darkmode by default. To add an invertable image use the following
+
+```html
+{{ iimg(src="logo.png", alt="alt text") }}
+```
+
+In light mode
+
+![image in light mode](./iimg_light.png)
+
+In dark mode
+
+![image in dark mode](./iimg_dark.png)
+
+## TODO
+
+- [ ] Add RTL support
+- [ ] Write proper test pages
+
+## License
+
+The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).