breaking changes from zola v0.19.0

This commit is contained in:
welpo 2024-06-21 01:54:36 +02:00
parent 448250ff57
commit b61a199218
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
8 changed files with 12 additions and 16 deletions

View file

@ -2,7 +2,8 @@ base_url = "https://welpo.github.io/tabi"
title = "~/tabi" title = "~/tabi"
description = "tabi is a fast, lightweight, and modern Zola theme with multi-language support, optional JavaScript, and a perfect Lighthouse score." description = "tabi is a fast, lightweight, and modern Zola theme with multi-language support, optional JavaScript, and a perfect Lighthouse score."
author = "welpo" author = "welpo"
generate_feed = true generate_feeds = true
feed_filenames = ["atom.xml"]
compile_sass = true compile_sass = true
minify_html = true minify_html = true
build_search_index = true build_search_index = true
@ -50,18 +51,14 @@ skip_anchor_prefixes = [
[languages.es] [languages.es]
title = "~/tabi" title = "~/tabi"
description = "tabi es un tema de Zola rápido, liviano y moderno con JavaScript opcional y una puntuación perfecta en Lighthouse." description = "tabi es un tema de Zola rápido, liviano y moderno con JavaScript opcional y una puntuación perfecta en Lighthouse."
generate_feed = true generate_feeds = true
compile_sass = true
minify_html = true
taxonomies = [{name = "tags", feed = true}] taxonomies = [{name = "tags", feed = true}]
build_search_index = true build_search_index = true
[languages.ca] [languages.ca]
title = "~/tabi" title = "~/tabi"
description = "tabi és un tema de Zola ràpid, lleuger i modern amb JavaScript opcional i una puntuació perfecta a Lighthouse." description = "tabi és un tema de Zola ràpid, lleuger i modern amb JavaScript opcional i una puntuació perfecta a Lighthouse."
generate_feed = true generate_feeds = true
compile_sass = true
minify_html = true
taxonomies = [{name = "tags", feed = true}] taxonomies = [{name = "tags", feed = true}]
[extra] [extra]

View file

@ -1,5 +1,5 @@
+++ +++
path = "/" paginate_path = "/"
title = "Publicacions recents" title = "Publicacions recents"
sort_by = "date" sort_by = "date"
template = "section.html" template = "section.html"

View file

@ -1,5 +1,5 @@
+++ +++
path = "/" paginate_path = "/"
title = "Publicaciones recientes" title = "Publicaciones recientes"
sort_by = "date" sort_by = "date"
template = "section.html" template = "section.html"

View file

@ -1,5 +1,5 @@
+++ +++
path = "/" paginate_path = "/"
title = "Latest posts" title = "Latest posts"
sort_by = "date" sort_by = "date"
template = "section.html" template = "section.html"

View file

@ -1,6 +1,6 @@
+++ +++
paginate_by = 5 paginate_by = 5
path = "/blog" paginate_path = "/blog"
title = "Blog" title = "Blog"
sort_by = "date" sort_by = "date"
template = "section.html" template = "section.html"

View file

@ -1,6 +1,6 @@
+++ +++
paginate_by = 5 paginate_by = 5
path = "/blog" paginate_path = "/blog"
title = "Blog" title = "Blog"
sort_by = "date" sort_by = "date"
template = "section.html" template = "section.html"

View file

@ -1,6 +1,6 @@
+++ +++
paginate_by = 5 paginate_by = 5
path = "/blog" paginate_path = "/blog"
title = "Blog" title = "Blog"
sort_by = "date" sort_by = "date"
template = "section.html" template = "section.html"

View file

@ -13,9 +13,8 @@
<nav class="socials nav-navs"> <nav class="socials nav-navs">
{%- if config.extra.socials or config.extra.email %} {%- if config.extra.socials or config.extra.email %}
<ul> <ul>
{%- if config.generate_feed and config.extra.feed_icon -%} {%- if config.feed_filenames and config.feed_filenames | length > 0 -%}
<li> <a class="nav-links no-hover-padding social" rel="{{ rel_attributes }}" {{ blank_target }} href="{{ get_url(path=config.feed_filenames[0], lang=lang, trailing_slash=false) | safe }}">
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }}" {{ blank_target }} href={{ get_url(path=config.feed_filename, lang=lang, trailing_slash=false) | safe }}>
<img alt="feed" title="feed" src="{{ get_url(path='/social_icons/rss.svg') }}"> <img alt="feed" title="feed" src="{{ get_url(path='/social_icons/rss.svg') }}">
</a> </a>
</li> </li>