From 36c9a4edfd173bd68b46eb226c783a635ec7de39 Mon Sep 17 00:00:00 2001 From: carpetscheme Date: Sun, 20 Sep 2020 19:57:54 +0200 Subject: [PATCH] Tweaked options --- README.md | 4 +--- content/pages/about.md | 17 ++++++----------- templates/404.html | 2 +- templates/index.html | 20 +++++++++----------- 4 files changed, 17 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 784ef4d..53f459d 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ path = "about" ### SEO -SEO header tags are enabled by default. Most fields are picked up from the page data, but you can set the `author` and for the `og:image` tag provide the path to an image. +Most SEO tags are populated by the page metadata, but you can set the `author` and for the `og:image` tag provide the path to an image: ```toml [extra] @@ -90,8 +90,6 @@ author = "Grant Green" 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 "Maintained with :heart: for the web". diff --git a/content/pages/about.md b/content/pages/about.md index 063aa9b..0bab0b7 100755 --- a/content/pages/about.md +++ b/content/pages/about.md @@ -3,19 +3,14 @@ title = "About This Theme" path = "about" +++ -Some fun facts about the theme include: +An insanely fast and performance-based Zola theme, ported from [Light Speed Jekyll](https://github.com/bradleytaunt/lightspeed). + +Some fun facts about the theme: * Perfect score on Google's Lighthouse audit -* Only ~600 bytes of CSS +* Only ~700 bytes of CSS * No JavaScript +* Now with SEO! -## Who Made This - -I'm Bradley Taunt, a designer/developer hybrid. - -My passion lies in implementing minimal CSS, with a focus on accessibility and web performance. This theme started as an experiment to see how much could be stripped away from a website, while still maintaining clean and readable content. - -Have questions or suggestions? Feel free to hit me up on [Twitter](https://twitter.com/bradtaunt). - -Interested in some of my other open source projects? Check out my [portfolio](https://bradleytaunt.com). +For more information check out the [ReadMe on Github](https://github.com/carpetscheme/lightspeed). diff --git a/templates/404.html b/templates/404.html index d6382a5..ac398d8 100755 --- a/templates/404.html +++ b/templates/404.html @@ -2,6 +2,6 @@ {% block title %}404: Page not found{%endblock title %} {% block content %} -

404: Page not found

+

404: Page not found

Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.

{% endblock content %} diff --git a/templates/index.html b/templates/index.html index ad7ec16..44051f2 100755 --- a/templates/index.html +++ b/templates/index.html @@ -16,8 +16,6 @@ {% block seo -%} - {%- if config.extra.seo or config.extra.seo is undefined -%} - {% if config.extra.author -%} @@ -38,8 +36,6 @@ {% if page.later -%} {%- endif %} - - {%- endif -%} {%- endblock seo -%} {% block extra_head %} @@ -82,13 +78,15 @@ {% endfor %} {% endif %} - - {%- if config.extra.zola or config.extra.zola is undefined -%}Built with Zola{%- endif -%} - {%- if config.extra.netlify %} & hosted on Netlify{%- endif -%} - {%- if config.extra.zola or config.extra.zola is undefined -%}.
{%- endif %} - {% if config.extra.maintained_with_love or config.extra.maintained_with_love is undefined%}Maintained with ♥ for the web.
{% endif %} - {% if config.extra.footer_tagline %}{{ config.extra.footer_tagline }}{% endif %} -
+ {% block taglines %} + + {%- if config.extra.zola or config.extra.zola is undefined -%}Built with Zola{%- endif -%} + {%- if config.extra.netlify %} & hosted on Netlify{%- endif -%} + {%- if config.extra.zola or config.extra.zola is undefined -%}.
{%- endif %} + {% if config.extra.maintained_with_love or config.extra.maintained_with_love is undefined%}Maintained with ♥ for the web.
{% endif %} + {% if config.extra.footer_tagline %}{{ config.extra.footer_tagline }}{% endif %} +
+ {% endblock taglines %} {% endblock footer %}