Compare commits
No commits in common. "main" and "v1.0.2" have entirely different histories.
1 changed files with 2 additions and 55 deletions
|
|
@ -4,59 +4,6 @@ from pathlib import Path
|
||||||
def vaktis():
|
def vaktis():
|
||||||
def callback(items, _metadata):
|
def callback(items, _metadata):
|
||||||
items = list(items)
|
items = list(items)
|
||||||
items.append(
|
|
||||||
(
|
|
||||||
Path("prenumerera.xml"),
|
|
||||||
{
|
|
||||||
"layout": "atom.xml.j2",
|
|
||||||
"_destination": Path("prenumerera.xml"),
|
|
||||||
"content": "",
|
|
||||||
},
|
|
||||||
)
|
|
||||||
)
|
|
||||||
items.append(
|
|
||||||
(
|
|
||||||
Path("prenumerera/lanktips.xml"),
|
|
||||||
{
|
|
||||||
"layout": "atom.xml.j2",
|
|
||||||
"_destination": Path("prenumerera/lanktips.xml"),
|
|
||||||
"content": "",
|
|
||||||
"select": "links",
|
|
||||||
},
|
|
||||||
)
|
|
||||||
)
|
|
||||||
items.append(
|
|
||||||
(
|
|
||||||
Path("prenumerera/inlagg.xml"),
|
|
||||||
{
|
|
||||||
"layout": "atom.xml.j2",
|
|
||||||
"_destination": Path("prenumerera/inlagg.xml"),
|
|
||||||
"content": "",
|
|
||||||
"select": "articles",
|
|
||||||
},
|
|
||||||
)
|
|
||||||
)
|
|
||||||
items.append(
|
|
||||||
(
|
|
||||||
Path("prenumerera/evenemang.xml"),
|
|
||||||
{
|
|
||||||
"layout": "atom.xml.j2",
|
|
||||||
"_destination": Path("prenumerera/evenemang.xml"),
|
|
||||||
"content": "",
|
|
||||||
"select": "events",
|
|
||||||
},
|
|
||||||
)
|
|
||||||
)
|
|
||||||
items.append(
|
|
||||||
(
|
|
||||||
Path("kommande-evenemang.ics"),
|
|
||||||
{
|
|
||||||
"layout": "events.ics.j2",
|
|
||||||
"_destination": Path("kommande-evenemang.ics"),
|
|
||||||
"content": "",
|
|
||||||
},
|
|
||||||
)
|
|
||||||
)
|
|
||||||
items.append(
|
items.append(
|
||||||
(
|
(
|
||||||
Path("index.md"),
|
Path("index.md"),
|
||||||
|
|
@ -84,7 +31,7 @@ def vaktis():
|
||||||
Path("inlagg.md"),
|
Path("inlagg.md"),
|
||||||
{
|
{
|
||||||
"layout": "blog.html.j2",
|
"layout": "blog.html.j2",
|
||||||
"title": "Inlägg från Anders Englöf Ytterströms webblogg",
|
"title": "Anders Englöf Ytterströms webblogg",
|
||||||
"select": "articles",
|
"select": "articles",
|
||||||
"_destination": Path("inlagg/index.md"),
|
"_destination": Path("inlagg/index.md"),
|
||||||
"content": "",
|
"content": "",
|
||||||
|
|
@ -96,7 +43,7 @@ def vaktis():
|
||||||
Path("lanktips.md"),
|
Path("lanktips.md"),
|
||||||
{
|
{
|
||||||
"layout": "blog.html.j2",
|
"layout": "blog.html.j2",
|
||||||
"title": "Länktips från Anders Englöf Ytterströms webblogg",
|
"title": "Anders Englöf Ytterströms webblogg",
|
||||||
"select": "links",
|
"select": "links",
|
||||||
"_destination": Path("lanktips/index.md"),
|
"_destination": Path("lanktips/index.md"),
|
||||||
"content": "",
|
"content": "",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue