diff options
author | p4bl0 <pablo@rauzy.name> | 2010-07-25 18:11:03 +0200 |
---|---|---|
committer | p4bl0 <pablo@rauzy.name> | 2010-07-25 18:11:03 +0200 |
commit | dbae9472bd08b9e5edd5bbdc5dcd8a0781010511 (patch) | |
tree | 911bdfe9c2342035c6836db0a773b2e5c20c3626 /post-commit.sh | |
parent | 339636946103a1607b26d3b5a809c0f6afb87135 (diff) |
reorganised includes in default templates
Diffstat (limited to 'post-commit.sh')
-rw-r--r-- | post-commit.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/post-commit.sh b/post-commit.sh index d4894d8..4d9cd25 100644 --- a/post-commit.sh +++ b/post-commit.sh @@ -266,6 +266,7 @@ generate_article() { cat "$templates_dir/article.html" | \ replace_file "article_content" "`get_article_content \"$art\"`" | \ replace_includes | \ + replace_str "page_title" "`get_article_title \"$art\"`" | \ replace_commit_info "-1" | \ replace_article_info "$art" | \ sed "/^\s*$/d" > "$public_dir/$art.html" @@ -339,6 +340,7 @@ if [ $modification -gt 0 ]; then replace_foreach "article" "$articles_sorted" | \ replace_foreach "commit" "$commits" | \ replace_empty_article_info | \ + replace_str "page_title" "archives" | \ replace_commit_info "-1" | \ sed "/^\s*$/d" > "$public_dir/archives.html" echo "done." |