Tweaked options

This commit is contained in:
carpetscheme 2020-09-20 19:57:54 +02:00
parent d47c90b82f
commit 36c9a4edfd
4 changed files with 17 additions and 26 deletions

View file

@ -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".

View file

@ -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).

View file

@ -2,6 +2,6 @@
{% block title %}404: Page not found{%endblock title %}
{% block content %}
<h1 class="page-title">404: Page not found</h1>
<h1>404: Page not found</h1>
<p>Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ config.base_url | safe }}/">Head back home</a> to try finding it again.</p>
{% endblock content %}

View file

@ -16,8 +16,6 @@
<style>{{ data | safe }}</style>
{% block seo -%}
{%- if config.extra.seo or config.extra.seo is undefined -%}
<meta property="og:site_name" content="{% block ogsitename %}{{config.title}}{% endblock ogsitename %}">
{% if config.extra.author -%}
<meta name="author" content="{{ config.extra.author }}" />
@ -38,8 +36,6 @@
{% if page.later -%}
<link rel="next" href="{{ page.later.permalink | safe }}" />
{%- endif %}
{%- endif -%}
{%- endblock seo -%}
{% block extra_head %}
@ -82,13 +78,15 @@
{% endfor %}
</nav>
{% endif %}
<small>
{%- if config.extra.zola or config.extra.zola is undefined -%}Built with <a href="https://www.getzola.org/">Zola</a>{%- endif -%}
{%- if config.extra.netlify %} & hosted on <a href="https://netlify.com">Netlify</a>{%- endif -%}
{%- if config.extra.zola or config.extra.zola is undefined -%}.<br />{%- endif %}
{% if config.extra.maintained_with_love or config.extra.maintained_with_love is undefined%}Maintained with &hearts; for the web.<br />{% endif %}
{% if config.extra.footer_tagline %}{{ config.extra.footer_tagline }}{% endif %}
</small>
{% block taglines %}
<small>
{%- if config.extra.zola or config.extra.zola is undefined -%}Built with <a href="https://www.getzola.org/">Zola</a>{%- endif -%}
{%- if config.extra.netlify %} & hosted on <a href="https://netlify.com">Netlify</a>{%- endif -%}
{%- if config.extra.zola or config.extra.zola is undefined -%}.<br />{%- endif %}
{% if config.extra.maintained_with_love or config.extra.maintained_with_love is undefined%}Maintained with &hearts; for the web.<br />{% endif %}
{% if config.extra.footer_tagline %}{{ config.extra.footer_tagline }}{% endif %}
</small>
{% endblock taglines %}
</footer>
{% endblock footer %}