diff --git a/README.md b/README.md index 2b1b423..66bac13 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,20 @@ ogimage = "Greenery.png" To disable SEO set field `seo` in `extra` to `false`. +### Footer text + +By default the footer provides links to Zola and Netlify, and a tagline of "Mainted with :hearts for the web". +To disable any of those parts, and/or add a custom tagline of your own, the following options are available: + +```toml +[extra] + +zola = true +netlify = false +maintained_with_love = false +footer_tagline = "What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet." +``` + ### Sass Styles are compiled from sass and imported inline to the header :zap: @@ -104,16 +118,6 @@ compile_sass = true ...and placing a replacement `style.scss` file in your sass folder. -### Netlify - -Deployed on netlify? Add a link in the footer by setting `netlify` in `extra` as `true`. - -```toml -[extra] - -netlify = true -``` - ## Original This template is based on the Jekyll template [Light Speed Jekyll](https://github.com/bradleytaunt/lightspeed) by Bradley Taunt. diff --git a/config.toml b/config.toml index 57bfc6c..9439b18 100644 --- a/config.toml +++ b/config.toml @@ -14,7 +14,9 @@ seo = true author = "El Carpet" ogimage = "lightning.png" +zola = true netlify = true +maintained_with_love = true footer_links = [ {url = "$BASE_URL/about", name = "About"}, diff --git a/templates/index.html b/templates/index.html index d579519..a491ea7 100755 --- a/templates/index.html +++ b/templates/index.html @@ -83,17 +83,18 @@ {% endif %} - Built with Zola - {%- if config.extra.netlify %} & hosted on Netlify{% endif -%} - .
- Maintained with ♥ for the web. + {%- if config.extra.zola -%}Built with Zola{%- endif -%} + {%- if config.extra.netlify %} & hosted on Netlify{%- endif -%} + {%- if config.extra.zola -%}.
{%- endif %} + {% if config.extra.maintained_with_love %}Maintained with ♥ for the web.
{% endif %} + {% if config.extra.footer_tagline %}{{ config.extra.footer_tagline }}{% endif %}
{% endblock footer %} - {% block extra_scripts %} - {% endblock extra_scripts %} + {% block after_main %} + {% endblock after_main %}