aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/navigation.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-21 23:50:32 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-22 00:00:18 -0400
commit39d56bc98834b09fc6939fd27bde8848efbb251d (patch)
tree404e6d12464884a763949215bb66081c74cf56c9 /.themes/classic/source/_includes/navigation.html
parent44e1351fc71eaef7aefdc168dc9bc15b20d4bda4 (diff)
downloadmy_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/_includes/navigation.html')
-rw-r--r--.themes/classic/source/_includes/navigation.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/.themes/classic/source/_includes/navigation.html b/.themes/classic/source/_includes/navigation.html
index 4518fcd8..6ffe9a86 100644
--- a/.themes/classic/source/_includes/navigation.html
+++ b/.themes/classic/source/_includes/navigation.html
@@ -6,11 +6,11 @@
</ul>
<form action="{{ site.simple_search }}" method="get">
<fieldset role="site-search">
- <input type="hidden" name="q" value="site:{{ site.url | search_url }}" />
+ <input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
-<ul role="navigation">
- <li><a href="{{ site.root }}/">Blog</a></li>
- <li><a href="{{ site.root }}/blog/archives">Archives</a></li>
+<ul role=main-navigation>
+ <li><a href="{{ root_url }}/">Blog</a></li>
+ <li><a href="{{ root_url }}/blog/archives">Archives</a></li>
</ul>