From: Christian Heller Date: Wed, 4 Jan 2017 13:01:44 +0000 (+0100) Subject: Improve templates. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/static/process?a=commitdiff_plain;h=832ddee1f328d75580c3bc39c48e4b000d2929d6;p=redo-blog Improve templates. --- diff --git a/processor/feed.xml.do b/processor/feed.xml.do index eed86ed..2b246a9 100644 --- a/processor/feed.xml.do +++ b/processor/feed.xml.do @@ -27,7 +27,7 @@ cat << EOF EOF -printf "\n" "$basepath" +printf "\n" "$basepath" printf "\n" "$basepath" printf "%s\n" "$title" printf "%s\n" "$author" diff --git a/processor/metadata/article.tmpl.do b/processor/metadata/article.tmpl.do index e945d5b..8b7e0dc 100644 --- a/processor/metadata/article.tmpl.do +++ b/processor/metadata/article.tmpl.do @@ -3,8 +3,6 @@ if [ ! -f "$1" ]; then cat << EOF - - %BLOG_TITLE% – %ARTICLE_TITLE_ESCAPED% - - %BLOG_TITLE%
@@ -27,7 +23,5 @@ header p { margin: 0; }
%BODY%
- - EOF fi diff --git a/processor/metadata/default.feed_snippet.do b/processor/metadata/default.feed_snippet.do index 8dca59b..872eacf 100644 --- a/processor/metadata/default.feed_snippet.do +++ b/processor/metadata/default.feed_snippet.do @@ -22,6 +22,6 @@ printf "%s\n" "$title" printf "urn:uuid:%s\n" "$uuid" printf "%s\n" "$lastmod_rfc3339" printf "%s\n" "$published_rfc3339" -printf "\n" "$(get_basepath)" "${html_file}" +printf "\n" "$(get_basepath)" "${html_file}" printf "\n%s\n\n" "$body" printf "\n" diff --git a/processor/metadata/index.tmpl.do b/processor/metadata/index.tmpl.do index 5befb4f..67cebb2 100644 --- a/processor/metadata/index.tmpl.do +++ b/processor/metadata/index.tmpl.do @@ -3,22 +3,16 @@ if [ ! -f "$1" ]; then cat << EOF - - %BLOG_TITLE% - -

%BLOG_TITLE%

feed

- - EOF fi