Permalink
Browse files

rename HOME_URL to HOME_PATH

  • Loading branch information...
1 parent a1a7efa commit 0fec345989bfdfb127d1397973d89046b03f5ced @plusjade plusjade committed Jan 23, 2012
View
@@ -4,10 +4,10 @@
-->
{% if site.safe and site.JB.BASE_PATH %}
{% assign BASE_PATH = site.JB.BASE_PATH %}
- {% assign HOME_URL = site.JB.BASE_PATH %}
+ {% assign HOME_PATH = site.JB.BASE_PATH %}
{% else %}
{% assign BASE_PATH = nil %}
- {% assign HOME_URL = "/" %}
+ {% assign HOME_PATH = "/" %}
{% endif %}
{% if site.JB.ASSET_PATH %}
@@ -7,7 +7,7 @@
<title>{{ page.title }} &larr; {{ page.top }}</title>
<meta name="author" content="{{ site.author.name }}" />
- <link rel="start" href="{{ HOME_URL }}" />
+ <link rel="start" href="{{ HOME_PATH }}" />
{% if page.keywords %}
<meta name="keywords" content="{{ page.keywords }}">
@@ -29,11 +29,11 @@
<div id="header">
<h1>
- <a href="{{ HOME_URL }}" title="{{ site.title }}">{{ site.title }}</a>
- <span class="byline">&larr; <a href="{{ HOME_URL }}">{{ site.author.name }}</a></span>
+ <a href="{{ HOME_PATH }}" title="{{ site.title }}">{{ site.title }}</a>
+ <span class="byline">&larr; <a href="{{ HOME_PATH }}">{{ site.author.name }}</a></span>
</h1>
<ul class="nav">
- <li><a class="home" href="{{ HOME_URL }}">Home</a></li>
+ <li><a class="home" href="{{ HOME_PATH }}">Home</a></li>
<li><a href="/archive.html">Archive</a></li>
<li><a href="/pages.html">Pages</a></li>
<li><a href="/categories.html">Categories</a></li>
@@ -9,7 +9,7 @@ <h1 class="emphnext">{{ page.title }}</h1>
{{ content }}
<address class="signature">
- <a class="author" href="{{ HOME_URL }}">{{ site.author.name }}</a>
+ <a class="author" href="{{ HOME_PATH }}">{{ site.author.name }}</a>
<span class="date">{{ page.date | date_to_long_string }}</span>
<span class="location">{{ page.location }}</span>
</address>
@@ -18,7 +18,7 @@
<header class="the-header">
<div class="unit-head">
<div class="unit-inner unit-head-inner">
- <p class="logo"><a href="{{ HOME_URL }}">{{ site.title }}</a></p>
+ <p class="logo"><a href="{{ HOME_PATH }}">{{ site.title }}</a></p>
<nav class="nav-global">
<ul>
<li class="archive"><a href="/archive.html">archive</a></li>
@@ -20,7 +20,7 @@
<div class="site">
<div class="title">
- <a href="{{ HOME_URL }}">{{ site.title }}</a>
+ <a href="{{ HOME_PATH }}">{{ site.title }}</a>
<a class="extra" href="/archive.html">Archive</a>
<a class="extra" href="/pages.html">Pages</a>
<a class="extra" href="/categories.html">Categories</a>
@@ -29,7 +29,7 @@
<div class="topbar">
<div class="fill">
<div class="container">
- <a class="brand" href="{{ HOME_URL }}">{{ site.title }}</a>
+ <a class="brand" href="{{ HOME_PATH }}">{{ site.title }}</a>
<ul class="nav">
{% assign pages_list = site.pages %}
{% assign group = 'navigation' %}

0 comments on commit 0fec345

Please sign in to comment.