Theme info in readme with screenshot

This commit is contained in:
carpetscheme 2020-04-13 22:23:39 +02:00
parent db3fcd3e7b
commit 7462ed2aab
3 changed files with 57 additions and 1 deletions

View file

@ -13,7 +13,47 @@ Demo: [quirky-perlman-34d0da.netlify.com](https://quirky-perlman-34d0da.netlify.
----- -----
## Author ## Contents
- [Installation](#installation)
- [Options](#options)
- [Footer menu](#footer-menu)
- [Original](#original)
- [License](#license)
## Installation
First download this theme to your `themes` directory:
```bash
$ cd themes
$ git clone https://github.com/carpetscheme/lightspeed.git
```
and then enable it in your `config.toml`:
```toml
theme = "lightspeed"
```
Posts should be placed in the `blog` folder.
## Options
### footer-menu
Set a field in `extra` with a key of `footer_links`:
```toml
after_dark_menu = [
{url = "$BASE_URL/about", name = "About"},
{url = "$BASE_URL/rss.xml", name = "RSS"},
{url = "https://google.com", name = "Google"},
]
```
If you put `$BASE_URL` in a url, it will automatically be replaced by the actual
site URL.
## Original
This template is based on the Jekyll template [Lite Speed Jekyll](https://github.com/bradleytaunt/lightspeed) by Bradley Taunt.
**Bradley Taunt** **Bradley Taunt**
- <https://github.com/bradleytaunt> - <https://github.com/bradleytaunt>
@ -25,3 +65,4 @@ Demo: [quirky-perlman-34d0da.netlify.com](https://quirky-perlman-34d0da.netlify.
Open sourced under the [MIT license](LICENSE.md). Open sourced under the [MIT license](LICENSE.md).
This project is open source except for example articles found in `_posts`. This project is open source except for example articles found in `_posts`.

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

15
theme.toml Normal file
View file

@ -0,0 +1,15 @@
iname = "lightspeed"
description = "Zola theme with a perfect Lighthouse score"
license = "MIT"
homepage = "https://github.com/carpetscheme/lightspeed"
min_version = "0.10.0"
demo = "https://quirky-perlman-34d0da.netlify.com/"
[author]
name = "El Carpet"
homepage = "https://github.com/carpetscheme"
[original]
author = "Bradley Taunt"
homepage = "https://github.com/bradleytaunt"
repo = "https://github.com/bradleytaunt/lightspeed"