Remove the unused `site.url`.

This commit is contained in:
XhmikosR 2014-03-12 12:43:54 +02:00
parent 0d70d97eeb
commit 11f609c3a6
5 changed files with 11 additions and 11 deletions

View File

@ -7,7 +7,7 @@
<p> <p>
Proudly hosted by Proudly hosted by
<a href="https://github.com"> <a href="https://github.com">
<img src="{{ site.url }}/img/footer-logo.png" alt="GitHub • Social coding"> <img src="/img/footer-logo.png" alt="GitHub • Social coding">
</a> </a>
</p> </p>
</div> </div>

View File

@ -5,9 +5,9 @@
<div class="grid"> <div class="grid">
<div class="unit one-third center-on-mobiles"> <div class="unit one-third center-on-mobiles">
<h1> <h1>
<a href="{{ site.url }}/"> <a href="/">
<span>Jekyll</span> <span>Jekyll</span>
<img src="{{ site.url }}/img/logo-2x.png" width="249" height="115" alt="Logo"> <img src="/img/logo-2x.png" width="249" height="115" alt="Logo">
</a> </a>
</h1> </h1>
</div> </div>

View File

@ -1,12 +1,12 @@
<ul> <ul>
<li class="{% if page.overview %}current{% endif %}"> <li class="{% if page.overview %}current{% endif %}">
<a href="{{ site.url }}/">Overview</a> <a href="/">Overview</a>
</li> </li>
<li class="{% if page.url contains '/docs/' %}current{% endif %}"> <li class="{% if page.url contains '/docs/' %}current{% endif %}">
<a href="{{ site.url }}/docs/home/">Doc<span class="show-on-mobiles">s</span><span class="hide-on-mobiles">umentation</span></a> <a href="/docs/home/">Doc<span class="show-on-mobiles">s</span><span class="hide-on-mobiles">umentation</span></a>
</li> </li>
<li class="{% if page.author %}current{% endif %}"> <li class="{% if page.author %}current{% endif %}">
<a href="{{ site.url }}/news/">News</a> <a href="/news/">News</a>
</li> </li>
<li> <li>
<a href="{{ site.repository }}"><span class="hide-on-mobiles">View on </span>GitHub</a> <a href="{{ site.repository }}"><span class="hide-on-mobiles">View on </span>GitHub</a>

View File

@ -1,7 +1,7 @@
<div class="section-nav"> <div class="section-nav">
<div class="left align-right"> <div class="left align-right">
{% if page.prev_section != null %} {% if page.prev_section != null %}
<a href="{{ site.url }}/docs/{{ page.prev_section }}/" class="prev"> <a href="/docs/{{ page.prev_section }}/" class="prev">
Back Back
</a> </a>
{% else %} {% else %}
@ -10,7 +10,7 @@
</div> </div>
<div class="right align-left"> <div class="right align-left">
{% if page.next_section != null %} {% if page.next_section != null %}
<a href="{{ site.url }}/docs/{{ page.next_section }}/" class="next"> <a href="/docs/{{ page.next_section }}/" class="next">
Next Next
</a> </a>
{% else %} {% else %}

View File

@ -7,7 +7,7 @@
<link rel="alternate" type="application/rss+xml" title="Jekyll • Simple, blog-aware, static sites - Feed" href="/feed.xml"> <link rel="alternate" type="application/rss+xml" title="Jekyll • Simple, blog-aware, static sites - Feed" href="/feed.xml">
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekylls master branch" href="{{ site.repository }}/commits/master.atom"> <link rel="alternate" type="application/atom+xml" title="Recent commits to Jekylls master branch" href="{{ site.repository }}/commits/master.atom">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic">
<link rel="stylesheet" href="{{ site.url }}/css/screen.css"> <link rel="stylesheet" href="/css/screen.css">
<link rel="icon" type="image/png" href="{{ site.url }}/favicon.png"> <link rel="icon" type="image/png" href="/favicon.png">
<script src="{{ site.url }}/js/modernizr-2.7.1.min.js"></script> <script src="/js/modernizr-2.7.1.min.js"></script>
</head> </head>