about summary refs log tree commit diff
path: root/gen
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-16 22:59:56 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-16 22:59:56 +0100
commit5c3ab5ce8967a2c697b4fd1603573fb6f4267e29 (patch)
tree1b3ad4c1b69071df0246ee8220f98bd7ecd90553 /gen
parent79ad2fbd5eabd90defdbb3c7849920cd52d8bdfa (diff)
downloadkronika-5c3ab5ce8967a2c697b4fd1603573fb6f4267e29.tar.gz
kronika-5c3ab5ce8967a2c697b4fd1603573fb6f4267e29.zip
Add chronicle description
Diffstat (limited to 'gen')
-rwxr-xr-xgen5
1 files changed, 3 insertions, 2 deletions
diff --git a/gen b/gen
index 7b7c2ba..b62aae0 100755
--- a/gen
+++ b/gen
@@ -52,12 +52,13 @@ post_link() {
 EOF
 }
 
-cat > wpisy/kronika.html << EOF
+cp wpisy/kronika.html.raw wpisy/kronika.html
+cat >> wpisy/kronika.html << EOF
 <link href="/kronika.css" rel="stylesheet">
 <h2>Ostatnie wpisy</h2>
 
 <p><a href="/kronika/rss.xml"><img alt="" src="/assets/rss.svg" style="height:1em">RSS</a></p>
-<div class="content post-list">
+<div class="post-list" style="max-width: 80ex">
 EOF
 
 mkdir -p dest/kronika