mirror of
https://0xacab.org/anarsec/anarsec.guide.git
synced 2025-06-08 23:02:55 -04:00
typst format links
This commit is contained in:
parent
4854035341
commit
fc9d9acf2b
1 changed files with 14 additions and 14 deletions
|
@ -103,20 +103,20 @@
|
|||
outline(indent: 20pt, depth: 2)
|
||||
|
||||
// format links
|
||||
#if lang == "en" [
|
||||
#let before = ""
|
||||
#let after = ""
|
||||
] else [
|
||||
#let before = "/" + lang
|
||||
#let after = lang + "/"
|
||||
]
|
||||
#if lang == "en" [
|
||||
#let rec = "Appendix: Recommendations"
|
||||
]
|
||||
#if lang == "fr" [
|
||||
#let rec = "Annexe: Recommendations"
|
||||
]
|
||||
let glossaryFootnote = state("x", [#footnote[anarsec.guide/glossary]<glossary-footnote>])
|
||||
let before = ""
|
||||
let after = ""
|
||||
let rec = ""
|
||||
if lang != "en" {
|
||||
before = "/" + lang
|
||||
after = lang + "/"
|
||||
}
|
||||
if lang == "en" {
|
||||
rec = "Appendix: Recommendations"
|
||||
}
|
||||
if lang == "fr" {
|
||||
rec = "Annexe: Recommendations"
|
||||
}
|
||||
let glossaryFootnote = state("x", [#footnote[anarsec.guide/glossary]<glossary-footnote>])
|
||||
show link: it => {
|
||||
it.body
|
||||
if type(it.dest) == "string" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue