roads-0, .static data

This commit is contained in:
veclav talica 2023-05-25 23:45:44 +05:00
parent ca7597ee8f
commit 8b6c913f6a
3 changed files with 26 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
**/__pycache__/* **/__pycache__/*
html/ html/
**/.*/ **/.*/
**/*.jpg/
**/*.png/

20
articles/roads-0/page.mmd Normal file
View File

@ -0,0 +1,20 @@
Title: Roads-0
Brief: Brief moments.
Date: 1685039350
Tags: Photography
CSS: /style.css
### Winter 22-23 ###
![](/articles/roads-0/frosties.jpg)
![](/articles/roads-0/steppe-in-snow.jpg)
![](/articles/roads-0/picturesque.jpg)
![](/articles/roads-0/veins-overtaking.jpg)
![](/articles/roads-0/to-the-skies.jpg)
### Spring 23 ###
![](/articles/roads-0/sweet-carpet.jpg)
![](/articles/roads-0/lonesome-road.jpg)
![](/articles/roads-0/ice-breaker.jpg)
![](/articles/roads-0/over-the-river.jpg)

View File

@ -15,6 +15,10 @@ for d in ./articles/*/; do
mkdir -p "./html/articles/$(basename -- $d)" mkdir -p "./html/articles/$(basename -- $d)"
cp -r "$d/.dynamic/." "./html/articles/$(basename -- $d)/" cp -r "$d/.dynamic/." "./html/articles/$(basename -- $d)/"
fi fi
if test -d "$d/.static"; then
mkdir -p "./html/articles/$(basename -- $d)"
cp -r "$d/.static/." "./html/articles/$(basename -- $d)/"
fi
./tools/article_wrapper.py "$d/page.mmd" https://mjestecko.neocities.org/ | ./tools/mmd/build/multimarkdown > "./html/articles/$(basename -- $d).html" ./tools/article_wrapper.py "$d/page.mmd" https://mjestecko.neocities.org/ | ./tools/mmd/build/multimarkdown > "./html/articles/$(basename -- $d).html"
fi fi
done done