mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
breaking changes from zola v0.19.0
This commit is contained in:
parent
448250ff57
commit
b61a199218
8 changed files with 12 additions and 16 deletions
11
config.toml
11
config.toml
|
@ -2,7 +2,8 @@ base_url = "https://welpo.github.io/tabi"
|
|||
title = "~/tabi"
|
||||
description = "tabi is a fast, lightweight, and modern Zola theme with multi-language support, optional JavaScript, and a perfect Lighthouse score."
|
||||
author = "welpo"
|
||||
generate_feed = true
|
||||
generate_feeds = true
|
||||
feed_filenames = ["atom.xml"]
|
||||
compile_sass = true
|
||||
minify_html = true
|
||||
build_search_index = true
|
||||
|
@ -50,18 +51,14 @@ skip_anchor_prefixes = [
|
|||
[languages.es]
|
||||
title = "~/tabi"
|
||||
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
|
||||
compile_sass = true
|
||||
minify_html = true
|
||||
generate_feeds = true
|
||||
taxonomies = [{name = "tags", feed = true}]
|
||||
build_search_index = true
|
||||
|
||||
[languages.ca]
|
||||
title = "~/tabi"
|
||||
description = "tabi és un tema de Zola ràpid, lleuger i modern amb JavaScript opcional i una puntuació perfecta a Lighthouse."
|
||||
generate_feed = true
|
||||
compile_sass = true
|
||||
minify_html = true
|
||||
generate_feeds = true
|
||||
taxonomies = [{name = "tags", feed = true}]
|
||||
|
||||
[extra]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
path = "/"
|
||||
paginate_path = "/"
|
||||
title = "Publicacions recents"
|
||||
sort_by = "date"
|
||||
template = "section.html"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
path = "/"
|
||||
paginate_path = "/"
|
||||
title = "Publicaciones recientes"
|
||||
sort_by = "date"
|
||||
template = "section.html"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
path = "/"
|
||||
paginate_path = "/"
|
||||
title = "Latest posts"
|
||||
sort_by = "date"
|
||||
template = "section.html"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
+++
|
||||
paginate_by = 5
|
||||
path = "/blog"
|
||||
paginate_path = "/blog"
|
||||
title = "Blog"
|
||||
sort_by = "date"
|
||||
template = "section.html"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
+++
|
||||
paginate_by = 5
|
||||
path = "/blog"
|
||||
paginate_path = "/blog"
|
||||
title = "Blog"
|
||||
sort_by = "date"
|
||||
template = "section.html"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
+++
|
||||
paginate_by = 5
|
||||
path = "/blog"
|
||||
paginate_path = "/blog"
|
||||
title = "Blog"
|
||||
sort_by = "date"
|
||||
template = "section.html"
|
||||
|
|
|
@ -13,9 +13,8 @@
|
|||
<nav class="socials nav-navs">
|
||||
{%- if config.extra.socials or config.extra.email %}
|
||||
<ul>
|
||||
{%- if config.generate_feed and config.extra.feed_icon -%}
|
||||
<li>
|
||||
<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 }}>
|
||||
{%- if config.feed_filenames and config.feed_filenames | length > 0 -%}
|
||||
<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 }}">
|
||||
<img alt="feed" title="feed" src="{{ get_url(path='/social_icons/rss.svg') }}">
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue