summaryrefslogtreecommitdiff
path: root/trees/blog/feed.typ
blob: 2cb9bd5ae8ed8d509e6374052ca638e00e5f73af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#import "lib.typ": entries

#let base = "https://0x4200.cafe/"

#for e in entries {
  html.elem("item")[

    #html.elem("title")[
      #text(e.name)
    ]

    #html.elem("h1")[
      #text(base + e.file.replace(".typ", ".html").replace("./", ""))
    ]

  ]
}