From 93d6877a387eb79814766fe2c0e75a0caa6e8a74 Mon Sep 17 00:00:00 2001
From: Carlos Fenollosa <cfenollosa@mba.local>
Date: Mon, 8 Feb 2016 10:25:43 +0100
Subject: fix #94 #97

---
 bb.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bb.sh b/bb.sh
index 6973d07..a72634f 100755
--- a/bb.sh
+++ b/bb.sh
@@ -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"
 
-- 
cgit v1.2.3