mirror of
https://0xacab.org/anarsec/anarsec.guide.git
synced 2025-06-09 07:12:54 -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)
|
outline(indent: 20pt, depth: 2)
|
||||||
|
|
||||||
// format links
|
// format links
|
||||||
#if lang == "en" [
|
let before = ""
|
||||||
#let before = ""
|
let after = ""
|
||||||
#let after = ""
|
let rec = ""
|
||||||
] else [
|
if lang != "en" {
|
||||||
#let before = "/" + lang
|
before = "/" + lang
|
||||||
#let after = lang + "/"
|
after = lang + "/"
|
||||||
]
|
}
|
||||||
#if lang == "en" [
|
if lang == "en" {
|
||||||
#let rec = "Appendix: Recommendations"
|
rec = "Appendix: Recommendations"
|
||||||
]
|
}
|
||||||
#if lang == "fr" [
|
if lang == "fr" {
|
||||||
#let rec = "Annexe: Recommendations"
|
rec = "Annexe: Recommendations"
|
||||||
]
|
}
|
||||||
let glossaryFootnote = state("x", [#footnote[anarsec.guide/glossary]<glossary-footnote>])
|
let glossaryFootnote = state("x", [#footnote[anarsec.guide/glossary]<glossary-footnote>])
|
||||||
show link: it => {
|
show link: it => {
|
||||||
it.body
|
it.body
|
||||||
if type(it.dest) == "string" {
|
if type(it.dest) == "string" {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue