diff options
Diffstat (limited to 'generate')
| -rwxr-xr-x | generate | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,7 @@ blog_path=blog mkdir -p "$blog_path" base_template < index.template.html | base_template_link 'static/img/favicon.png' | + base_template_link 'static/css/index.css' | base_template_link 'static/css/style.css' > index.html base_template < school.template.html | base_template_link 'static/img/favicon.png' | @@ -44,8 +45,10 @@ do post_dst_path=$(echo "$post_path" | sed 's_.md_.html_') pandoc -f markdown -t html < "$post_path" | + sed -e '1i<div class="article">' -e '$a</div>' | base_template | base_template_link '../static/img/favicon.png' | + base_template_link '../static/css/blog.css' | base_template_link '../static/css/style.css' > "$post_dst_path" # Add blog artcle link to the index.html |
