diff options
author | p4bl0 <pablo@rauzy.name> | 2010-08-11 11:15:46 +0200 |
---|---|---|
committer | p4bl0 <pablo@rauzy.name> | 2010-08-11 11:15:46 +0200 |
commit | 4cd15fad3cf1252532da170e44dad68683601166 (patch) | |
tree | 00cfa3351c50ce2368753e3db9143f294fa89588 /html-gen.sh | |
parent | f71626c7ecade5cf26baa9cb318cdd1c3d0c84c1 (diff) |
started to write the template system doc in the README
Diffstat (limited to 'html-gen.sh')
-rw-r--r-- | html-gen.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/html-gen.sh b/html-gen.sh index d66dc12..fb0f4d9 100644 --- a/html-gen.sh +++ b/html-gen.sh @@ -369,8 +369,10 @@ if [ $modification -gt 0 ]; then last_5_commits=`mktemp --suffix "-fugitive"` head -5 "$commits" > "$last_5_commits" cat "$templates_dir/feed.xml" | \ + replace_includes | \ replace_foreach "article" "$last_5_articles" | \ replace_foreach "commit" "$last_5_commits" | \ + replace_str "page_title" "feed" | \ replace_str "blog_url" "$blog_url" | \ replace_commit_info "-1" | \ sed "/^\s*$/d" > "$public_dir/feed.xml" |