Make it useful

This commit is contained in:
Anders Englöf Ytterström 2026-04-06 12:46:49 +02:00
parent fadac669a6
commit 8b531c9b62

View file

@ -6,52 +6,62 @@ def vaktis():
items = list(items) items = list(items)
items.append( items.append(
( (
Path("/index.md"), Path("index.md"),
{ {
"title": "Anders Englöf Ytterströms hemsida",
"template": "home.html.j2", "template": "home.html.j2",
"_destination": Path("/index.md"), "_destination": Path("index.md"),
"content": "",
}, },
) )
) )
items.append( items.append(
( (
Path("/webblogg.md"), Path("webblogg.md"),
{ {
"template": "blog.html.j2", "template": "blog.html.j2",
"_destination": Path("/webblogg/index.md"), "title": "Anders Englöf Ytterströms webblogg",
"_destination": Path("webblogg/index.md"),
"content": "",
}, },
) )
) )
items.append( items.append(
( (
Path("/inlagg.md"), Path("inlagg.md"),
{ {
"template": "blog.html.j2", "template": "blog.html.j2",
"title": "Anders Englöf Ytterströms webblogg",
"select": "articles", "select": "articles",
"_destination": Path("/inlagg/index.md"), "_destination": Path("inlagg/index.md"),
"content": "",
}, },
) )
) )
items.append( items.append(
( (
Path("/lanktips.md"), Path("lanktips.md"),
{ {
"template": "blog.html.j2", "template": "blog.html.j2",
"title": "Anders Englöf Ytterströms webblogg",
"select": "links", "select": "links",
"_destination": Path("/lanktips/index.md"), "_destination": Path("lanktips/index.md"),
"content": "",
}, },
) )
) )
items.append( items.append(
( (
Path("/evenemang.html"), Path("evenemang.html"),
{ {
"template": "blog.html.j2", "template": "blog.html.j2",
"title": "Anders Englöf Ytterströms deltaganden i konserter och festivaler sedan 2000",
"select": "events", "select": "events",
"_destination": Path("/evenemang/index.md"), "_destination": Path("evenemang/index.md"),
"content": "",
}, },
) )
) )
return map(lambda i: i, items), _metadata return map(lambda i: i, items)
return callback return callback