Go to file
2020-04-13 23:15:18 +02:00
content zola! 2020-04-13 21:19:58 +02:00
sass zola! 2020-04-13 21:19:58 +02:00
static zola! 2020-04-13 21:19:58 +02:00
templates zola! 2020-04-13 21:19:58 +02:00
.gitignore zola! 2020-04-13 21:19:58 +02:00
config.toml update site url 2020-04-13 21:45:03 +02:00
LICENSE.md wip: initial commit 2019-04-09 06:58:22 -04:00
netlify.toml netlify config 2020-04-13 21:38:28 +02:00
README.md Improving readme for theme 2020-04-13 23:15:18 +02:00
screenshot.png Theme info in readme with screenshot 2020-04-13 22:23:39 +02:00
theme.toml Improving readme for theme 2020-04-13 23:15:18 +02:00

Light Speed

An insanely fast and performance-based Zola theme, ported from Light Speed Jekyll.

Some fun facts about the theme:

  • Perfect score on Google's Lighthouse audit
  • Only ~434 bytes of CSS
  • No media queries
  • No JavaScript

Demo: quirky-perlman-34d0da.netlify.com


Contents

Installation

First download this theme to your themes directory:

$ cd themes
$ git clone https://github.com/carpetscheme/lightspeed.git

and then enable it in your config.toml:

theme = "lightspeed"

Posts should be placed in the blog folder.

Options

Title

Set a tile and description for your site to appear in the header:

title = "Different strokes"
description = "for different folks"

Sass

The theme's css is compiled from sass and the output is imported inline to the header

You can overide the styles by enabling sass compilation in the config:

compile_sass = true

...and placing a replacement style.scss file in the sass folder.

RSS

Enable rss with the standard zola option:

generate_rss = true

...and include your name and email in the feed by setting fields in extra with keys author and email:

[extra]

author = "Grant Green"
email = "grant@green.org"

Set a field in extra with a key of footer_links:

[extra]

footer_links = [
    {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 Light Speed Jekyll by Bradley Taunt:

License

Open sourced under the MIT license.

This project is open source except for example articles found in content.