iankelling.org
/
git
/
iankelling.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix feed links
[iankelling.org]
/
b.rb
diff --git
a/b.rb
b/b.rb
index d4e97b6dba16b1c988ed0760561022e9aad3e14a..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