Find a file
2023-12-09 16:38:04 +01:00
.github/workflows Using fork of deploy script for 0.17.0 2023-02-17 17:29:24 +00:00
content fix typo 2023-02-02 10:46:58 +00:00
sass Embed AndadaPro font 2023-12-05 09:05:12 +01:00
static Embed AndadaPro font 2023-12-05 09:05:12 +01:00
templates Allow to override footers 2023-12-09 16:21:50 +01:00
.gitignore Adding github deploy action 2023-02-01 18:02:10 +00:00
CHANGELOG.md Google analytics & fix for whitespace 2023-02-20 11:24:42 +00:00
config.toml Google analytics & fix for whitespace 2023-02-20 11:24:42 +00:00
README.md Fix footer example 2023-12-09 16:38:04 +01:00
screenshot.png 1.1 2023-02-12 19:09:36 +00:00
theme.toml 1.1 2023-02-12 19:09:36 +00:00

Zola-Inky

An elegant and understated theme for Zola

Zola Inky (view demo) is a theme by jimmyff and mr-karan for the Zola static site generator. This theme was originally based on the hugo-ink theme, ported by mr-karan. It was then packaged and developed further by jimmyff. The theme is available on Github under the MIT license, for more information on how to use it please see the readme and check the changelog for a list of the latest changes.

PNG

Changes compared to the original

The main objective of the fork is to have no external dependencies (Google fonts, CDN...). It also adds flexibility.

Stop using Google fonts

The required fonts are loaded locally from the theme itself.

Use fork-awesome for icons

Fork-awesome is used instead of feather, because it has more icons (e.g. a proper Mastodon icon).

In addition, all icons are loaded locally from the theme itself.

You can override the content of the footer by overriding base.html. There are three blocks available:

  • footer_left: contains social and RSS buttons by default
  • footer_center: empty by default
  • footer_right: contains attributions by default (please keep the link to the original theme author)

Here is an example that you can put in templates/base.html in your website:

{% extends "zola-inky/templates/base.html" %}

{% block footer_center %}
<a target="_blank" href="https://deuxfleurs.fr/"><img src="{{ get_url(path='deuxfleurs_en.png') }}" alt="Badge showing the website is hosted by Deuxfleurs" title="Website hosted by Deuxfleurs"></a>
{% endblock footer_center %}

{% block footer_right %}
Licence: CC-BY-SA {{ config.title }} {{ now() | date(format="%Y") }}
<br>
Powered by <a target="_blank" href="https://getzola.org/">Zola</a>.
Theme: <a target="_blank" href="https://github.com/jimmyff/zola-inky">Inky</a> (<a href="https://git.deuxfleurs.fr/baptiste/zola-inky-fork">fork</a>).
{% endblock footer_right %}

Styling for tables

See https://blog.bitsofnetworks.org/riscv-performance-power-usage/