mirror of
https://github.com/welpo/tabi.git
synced 2025-12-15 04:08:43 +01: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"
|
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]
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue