fix broken link
[iankelling.org] / b.rb
diff --git a/b.rb b/b.rb
index 266ce819b6525215afdbcaff90b8cf78166925d5..432bbc2b384572a85be34cf85d52009b8ef02269 100644 (file)
--- a/b.rb
+++ b/b.rb
@@ -58,7 +58,7 @@ module B # blog module
     head = <<EOF
 <link rel="canonical" href="#{DURL}/#{rel_path}">
 EOF
-    if rel_path =~ %r{^blog/.}
+    if rel_path =~ %r{^/blog/|^blog.html}
       head += <<EOF
 <link rel="alternate" type="application/atom+xml" title="#{DN}" href="#{DURL}/feed.xml">
 EOF
@@ -97,7 +97,7 @@ EOF
     <footer>
 #{o[:footer]}
       <p>This site has a <a href="/git/?p=iankelling.org;a=summary">git repo</a>. Unless stated otherwise, <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img id="cc-by-sa" alt="Creative Commons License" src="/assets/cc-by-sa-4.0-80x15.png" /></a></p>
-      <p><address><a href="ian@iankelling.org">ian@iankelling.org</a> let me know what you think</address></p>
+      <p><address><a href="mailto:ian@iankelling.org">ian@iankelling.org</a> let me know what you think</address></p>
     </footer>
   </body>
 </html>