projects
/
website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
606950c
)
added post div
author
MatthewOwens
<matthew@owens.tech>
Mon, 20 Jul 2020 12:26:21 +0000
(13:26 +0100)
committer
MatthewOwens
<matthew@owens.tech>
Mon, 20 Jul 2020 12:26:21 +0000
(13:26 +0100)
scripts/gen_post.sh
patch
|
blob
|
history
diff --git
a/scripts/gen_post.sh
b/scripts/gen_post.sh
index
c4aa79e
..
6338d34
100755
(executable)
--- a/
scripts/gen_post.sh
+++ b/
scripts/gen_post.sh
@@
-8,4
+8,6
@@
title=$(scripts/post_title.sh $1)
# seperator to '/' for sed
sed "s|TITLE|$title|" includes/head.html
cat includes/header.html
+echo '<div id="post">'
markdown $1
+echo '</div>'