mirror of
https://0xacab.org/anarsec/anarsec.guide.git
synced 2025-06-07 22:32:55 -04:00
post aliases
This commit is contained in:
parent
23a8d1f0ae
commit
e8ed48eecd
7 changed files with 7 additions and 4 deletions
|
@ -2,4 +2,5 @@
|
|||
title = "Guides"
|
||||
sort_by = "date"
|
||||
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"
|
||||
paginate_by = 10
|
||||
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"
|
||||
sort_by = "date"
|
||||
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"
|
||||
sort_by = "date"
|
||||
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
|
||||
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))
|
||||
|
||||
# Add glossary entries to the Markdown content
|
||||
|
|
|
@ -599,13 +599,13 @@ li.lang-switcher
|
|||
|
||||
.dropdown .dropdown-content
|
||||
text-align: center
|
||||
transform: translatex(-50%) !important
|
||||
|
||||
.dropdown-content
|
||||
position: absolute !important
|
||||
padding: 0
|
||||
display: flex
|
||||
flex-direction: row
|
||||
right: 0
|
||||
|
||||
.dropdown-lang
|
||||
background-color: #f5f5f5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue