diff options
| author | Brandon Mathis <brandon@imathis.com> | 2011-07-21 23:50:32 -0400 |
|---|---|---|
| committer | Brandon Mathis <brandon@imathis.com> | 2011-07-22 00:00:18 -0400 |
| commit | 39d56bc98834b09fc6939fd27bde8848efbb251d (patch) | |
| tree | 404e6d12464884a763949215bb66081c74cf56c9 /.themes/classic/source/_layouts/default.html | |
| parent | 44e1351fc71eaef7aefdc168dc9bc15b20d4bda4 (diff) | |
| download | my_new_personal_website-39d56bc98834b09fc6939fd27bde8848efbb251d.tar.xz my_new_personal_website-39d56bc98834b09fc6939fd27bde8848efbb251d.zip | |
Finally a nice solution for mapping relative urls
Diffstat (limited to '.themes/classic/source/_layouts/default.html')
| -rw-r--r-- | .themes/classic/source/_layouts/default.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.themes/classic/source/_layouts/default.html b/.themes/classic/source/_layouts/default.html index fdb60ded..f3c24005 100644 --- a/.themes/classic/source/_layouts/default.html +++ b/.themes/classic/source/_layouts/default.html @@ -1,10 +1,11 @@ +{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %} {% include head.html %} <body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == false %} class="no-sidebar" {% endif %}> <header>{% include header.html %}</header> <nav>{% include navigation.html %}</nav> <div id="main"> <div id="content"> - {{ content }} + {{ content | expand_urls: root_url | smart_quotes }} {% unless page.sidebar == false %} <aside role=sidebar>{% include sidebar.html %}</aside> {% endunless %} |
