diff --git a/README.org b/README.org new file mode 100644 index 0000000..4262256 --- /dev/null +++ b/README.org @@ -0,0 +1,48 @@ +#+title: Readme +#+author: Yann Esposito +#+created: [2024-01-19 Fri] +* =statyk= + +A short program whose goal is to build a static websites as naturally as possible. + +The main concept is about keeping in sync a directory of files and their +respective content. + +Mainly we would like the following: + +For every file in ~_src~ directory create an associated generated file in ~_site~. + +For example: + +#+begin_src +_src/ ------------> _site/ + index.md -- pandoc --> index.html + about.org -- pandoc --> about.html + yolo.html ---- cp ----> yolo.html + post/01.md -- pandoc --> post/01.html + post/02.org -- pandoc --> post/02.html + img/logo.png - imgoptim -> img/logo.webp + css/main.sass - less+min -> css/main.css + js/main.js - minimize -> js/main.js +#+end_src + +Another mechanism is building meta files. + +#+begin_src +phase 1: + _src/ ------------> _site/ + ... + post/01.md -- pandoc --> post/01.html + post/02.org -- pandoc --> post/02.html + .. + post/42.org -- pandoc --> post/42.html + +phase 2: + _site/ \ _site/ + index.md | ... + post/01.html | sitemap.html + ... > rss.xml + post/20.html | archive.html + ... | + post/42.html / +#+end_src diff --git a/resources/statyk/index.html b/resources/statyk/index.html index b51f1ce..2d013ae 100644 --- a/resources/statyk/index.html +++ b/resources/statyk/index.html @@ -43,89 +43,6 @@

Articles

$body$ - -

Archives from my previous dead blog

- - -