From 8b6c913f6a35a2530f5591254b3c686bebaf31e3 Mon Sep 17 00:00:00 2001 From: veclav talica Date: Thu, 25 May 2023 23:45:44 +0500 Subject: [PATCH] roads-0, .static data --- .gitignore | 2 ++ articles/roads-0/page.mmd | 20 ++++++++++++++++++++ compile.sh | 4 ++++ 3 files changed, 26 insertions(+) create mode 100644 articles/roads-0/page.mmd diff --git a/.gitignore b/.gitignore index 91e04b8..b47985c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ **/__pycache__/* html/ **/.*/ +**/*.jpg/ +**/*.png/ diff --git a/articles/roads-0/page.mmd b/articles/roads-0/page.mmd new file mode 100644 index 0000000..fd1ec31 --- /dev/null +++ b/articles/roads-0/page.mmd @@ -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) diff --git a/compile.sh b/compile.sh index b53baf8..79eebaf 100755 --- a/compile.sh +++ b/compile.sh @@ -15,6 +15,10 @@ for d in ./articles/*/; do mkdir -p "./html/articles/$(basename -- $d)" cp -r "$d/.dynamic/." "./html/articles/$(basename -- $d)/" 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" fi done