post aliases

This commit is contained in:
anarsec 2024-11-23 19:16:58 -05:00
parent 23a8d1f0ae
commit e8ed48eecd
No known key found for this signature in database
7 changed files with 7 additions and 4 deletions

View file

@ -6,7 +6,7 @@ generate_feed = true
taxonomies = [ taxonomies = [
{ name = "categories", feed = true, paginate_by = 10 }, { name = "categories", feed = true, paginate_by = 10 },
{ name = "tags", feed = true, paginate_by = 10 }, { name = "tags", feed = true, paginate_by = 10},
] ]
[markdown] [markdown]

View file

@ -2,4 +2,5 @@
title = "Guides" title = "Guides"
sort_by = "date" sort_by = "date"
paginate_by = 10 paginate_by = 10
aliases = ["/el/posts/e2ee/","/el/posts/grapheneos/","/el/posts/linux/","/el/posts/metadata/","/el/posts/qubes/","/el/posts/tails/","/el/posts/tails-best/","/el/posts/tamper/"]
+++ +++

View file

@ -3,5 +3,5 @@ title = "Guides"
sort_by = "date" sort_by = "date"
paginate_by = 10 paginate_by = 10
description = "D'autres guides sont disponibles en anglais." description = "D'autres guides sont disponibles en anglais."
aliases = ["/fr/posts/e2ee/"] aliases = ["/fr/posts/e2ee/","/fr/posts/grapheneos/","/fr/posts/linux/","/fr/posts/metadata/","/fr/posts/qubes/","/fr/posts/tails/","/fr/posts/tails-best/","/fr/posts/tamper/"]
+++ +++

View file

@ -2,4 +2,5 @@
title = "Guides" title = "Guides"
sort_by = "date" sort_by = "date"
paginate_by = 10 paginate_by = 10
aliases = ["/pt/posts/e2ee/","/pt/posts/grapheneos/","/pt/posts/linux/","/pt/posts/metadata/","/pt/posts/qubes/","/pt/posts/tails/","/pt/posts/tails-best/","/pt/posts/tamper/"]
+++ +++

View file

@ -2,4 +2,5 @@
title = "Guides" title = "Guides"
sort_by = "date" sort_by = "date"
paginate_by = 10 paginate_by = 10
aliases = ["/ru/posts/e2ee/","/ru/posts/grapheneos/","/ru/posts/linux/","/ru/posts/metadata/","/ru/posts/qubes/","/ru/posts/tails/","/ru/posts/tails-best/","/ru/posts/tamper/"]
+++ +++

View file

@ -156,7 +156,7 @@ class Converter:
# List glossary entries that appear in the Markdown content # List glossary entries that appear in the Markdown content
glossary_entries = set() glossary_entries = set()
for match in re.findall(r'\[.*?\]\((?:|/fr)/glossary\/?#(.*?)\)', markdown_content): for match in re.findall(r'\[.*?\]\((?:|/fr)(?:|/ru)(?:|/el)/glossary\/?#(.*?)\)', markdown_content):
glossary_entries.add(slugify.slugify(match)) glossary_entries.add(slugify.slugify(match))
# Add glossary entries to the Markdown content # Add glossary entries to the Markdown content

View file

@ -599,13 +599,13 @@ li.lang-switcher
.dropdown .dropdown-content .dropdown .dropdown-content
text-align: center text-align: center
transform: translatex(-50%) !important
.dropdown-content .dropdown-content
position: absolute !important position: absolute !important
padding: 0 padding: 0
display: flex display: flex
flex-direction: row flex-direction: row
right: 0
.dropdown-lang .dropdown-lang
background-color: #f5f5f5 background-color: #f5f5f5