All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
New major release, that adds multilanguage support, and a new template block that can be override by users. And, some (small) breaking changes have been done so check the changelog to upgrade your site.
A new empty block in base.html named user_head
has been added allows users to customize the head of their pages easily. You can now add custom meta tags, CSS, and JavaScript to the head of their pages.
Example (file: yoursite/templates/base.html
):
{% extends "kodama-theme/templates/base.html" %}
{% block user_head %}
<script>console.log("hello world!")</script>
{% endblock user_head %}
Added support for multilanguage thanks to Piotr Beling. The zola documentation can now be used to add a new languages, multilanguage.
The only change that you need to do is to is to add the following content to your config.toml
file.
[translations]
Biography = "Biography"
Interests = "Interests"
Education = "Education"
toc = "Table of Contents"
Published = "Published"
Abstract = "Abstract"
volume = "volume"
number = "number"
pages = "pages"
A new translation can be added following the zola official documentation. The only requirements are:
- add a new extra configuration containing the languages code that you have.
- add a
menu_items
for each languages under theextra.language_code
(language_code need to correspond to the actual code).
For instance:
[extra]
language_codes = [ "en", "fr" ]
[extra.fr]
menu_items = [
{ path = "#contacts_fr", name = "Contact" },
]
- The template
blog.html
has been renamed tosection.html
- The macro nav takes only one parameter now (the title of the website).
- Many refactor and code cleaning
- Fix wrong variable in readme. In publication content,
publication_types
is nowtype
This is the first release. The readme includes the details of all the available features.