mirror of
https://0xacab.org/anarsec/anarsec.guide.git
synced 2025-06-08 06:42:56 -04:00
post aliases
This commit is contained in:
parent
23a8d1f0ae
commit
e8ed48eecd
7 changed files with 7 additions and 4 deletions
|
@ -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]
|
||||||
|
|
|
@ -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/"]
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -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/"]
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -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/"]
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -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/"]
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue