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