aboutsummaryrefslogtreecommitdiff
path: root/generate
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-12-07 05:08:54 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-12-07 05:08:54 +0100
commit15c7a862bcf83aad0a369c84a0cb9cc323b64c47 (patch)
treea4f4bb97b89d81a597f444d23ed64b4c91dd81b2 /generate
parent4fb46cd35fcd929136ae44e4f31f489c361b5282 (diff)
downloadcacharle.xyz-15c7a862bcf83aad0a369c84a0cb9cc323b64c47.tar.gz
cacharle.xyz-15c7a862bcf83aad0a369c84a0cb9cc323b64c47.tar.bz2
cacharle.xyz-15c7a862bcf83aad0a369c84a0cb9cc323b64c47.zip
Updated topbar, Added links icons, Added big title
Diffstat (limited to 'generate')
-rwxr-xr-xgenerate3
1 files changed, 3 insertions, 0 deletions
diff --git a/generate b/generate
index f1f3378..649e0ff 100755
--- a/generate
+++ b/generate
@@ -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