diff options
author | ToM <tom@leloop.org> | 2013-09-05 01:12:01 +0200 |
---|---|---|
committer | ToM <tom@leloop.org> | 2013-09-05 01:28:42 +0200 |
commit | 5ad87f5e4ffaacaef0e70c9b4a03218d3eb227df (patch) | |
tree | 330923edfb320d7f70fe5c0eb587db7e0905730d | |
parent | ca1f939ed9e6003ddddabbc47a4068faf21da760 (diff) |
[FIX] Use blogofile variables instead of hardcoded Root Location.
-rw-r--r-- | _templates/footer.mako | 10 | ||||
-rw-r--r-- | _templates/head.mako | 2 | ||||
-rw-r--r-- | _templates/header.mako | 2 |
3 files changed, 9 insertions, 5 deletions
diff --git a/_templates/footer.mako b/_templates/footer.mako index e74ec6b..fa9b002 100644 --- a/_templates/footer.mako +++ b/_templates/footer.mako @@ -1,6 +1,10 @@ <p> -<a href="${bf.util.site_path_helper(bf.config.blog.path,'feed')}"><img src="/img/rss.png" height='20' alt='RSS feed' title='RSS feed' /></a> -<a href="http://creativecommons.org/licenses/by-nc-sa/2.0/fr/"><img src="/img/cc-bysanc.png" height='20' alt='CC-BY-SA-NC' title='CC-BY-SA-NC' /></a> -<a href="http://www.toile-libre.org/"><img style="background: white" src="/img/toile-libre.png" height='20' alt='Hébergé par Toile-Libre' title='Hébergé par Toile-Libre' /></a><br /> +<a href="${bf.util.site_path_helper(bf.config.blog.path,'feed')}"> +<img src="${bf.util.site_path_helper(bf.config.blog.path,'/img/rss.png')}" height='20' alt='RSS feed' title='RSS feed' /></a> +<a href="http://creativecommons.org/licenses/by-nc-sa/2.0/fr/"> +<img src="${bf.util.site_path_helper(bf.config.blog.path,'/img/cc-bysanc.png')}" height='20' alt='CC-BY-SA-NC' title='CC-BY-SA-NC' /></a> +<a href="http://www.toile-libre.org/"> +<img style="background: white" src="${bf.util.site_path_helper(bf.config.blog.path,'/img/toile-libre.png')}" height='20' alt='Hébergé par Toile-Libre' title='Hébergé par Toile-Libre' /></a> +<br /> powered by <a href="http://www.blogofile.com">blogofile</a>.<br/> </p> diff --git a/_templates/head.mako b/_templates/head.mako index 8cf9247..29f68d6 100644 --- a/_templates/head.mako +++ b/_templates/head.mako @@ -1,4 +1,4 @@ <title>${bf.config.blog.name}</title> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="${bf.util.site_path_helper(bf.config.blog.path,'/feed')}" /> <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="${bf.util.site_path_helper(bf.config.blog.path,'/feed/atom')}" /> -<link rel='stylesheet' href='/css/site.css' /> +<link rel='stylesheet' href="${bf.util.site_path_helper(bf.config.blog.path,'/css/site.css')}" /> diff --git a/_templates/header.mako b/_templates/header.mako index 87c654d..61429d4 100644 --- a/_templates/header.mako +++ b/_templates/header.mako @@ -13,5 +13,5 @@ </div> <div class="static"> -<a href="/what.html">What?</a> <a href="/when.html">When?</a> <a href="/where.html">Where?</a> <a href="/how.html">How?</a> <a href="http://wiki.leloop.org/">Wiki!</a> + <a href="${bf.util.site_path_helper(bf.config.blog.path,'/what.html')}">What?</a> <a href="${bf.util.site_path_helper(bf.config.blog.path,'/when.html')}">When?</a> <a href="${bf.util.site_path_helper(bf.config.blog.path,'/where.html')}">Where?</a> <a href="${bf.util.site_path_helper(bf.config.blog.path,'/how.html')}">How?</a> <a href="http://wiki.leloop.org/">Wiki!</a> </div> |