diff options
author | Carlos Fenollosa <cfenollosa@mba.local> | 2016-02-08 10:25:43 +0100 |
---|---|---|
committer | Carlos Fenollosa <cfenollosa@mba.local> | 2016-02-08 10:25:43 +0100 |
commit | 93d6877a387eb79814766fe2c0e75a0caa6e8a74 (patch) | |
tree | 8d9f44024a8fdf6ccaed3d5bfc14725033e3509a | |
parent | 93717bc9b8dc480fa94170cabfc3e44bb020a763 (diff) |
fix #94 #97
-rwxr-xr-x | bb.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -858,7 +858,7 @@ make_rss() { pubdate=$(LC_ALL=C date +"%a, %d %b %Y %H:%M:%S %z") echo '<?xml version="1.0" encoding="UTF-8" ?>' echo '<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">' - echo "<channel><title>$global_title</title><link>$global_url</link>" + echo "<channel><title>$global_title</title><link>$global_url/$index_file</link>" echo "<description>$global_description</description><language>en</language>" echo "<lastBuildDate>$pubdate</lastBuildDate>" echo "<pubDate>$pubdate</pubDate>" @@ -892,7 +892,7 @@ make_rss() { # generate headers, footers, etc create_includes() { { - echo "<h1 class=\"nomargin\"><a class=\"ablack\" href=\"$global_url\">$global_title</a></h1>" + echo "<h1 class=\"nomargin\"><a class=\"ablack\" href=\"$global_url/$index_file\">$global_title</a></h1>" echo "<div id=\"description\">$global_description</div>" } > ".title.html" |