Remove the unused `site.url`.
This commit is contained in:
parent
0d70d97eeb
commit
11f609c3a6
|
@ -7,7 +7,7 @@
|
|||
<p>
|
||||
Proudly hosted by
|
||||
<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>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
<div class="grid">
|
||||
<div class="unit one-third center-on-mobiles">
|
||||
<h1>
|
||||
<a href="{{ site.url }}/">
|
||||
<a href="/">
|
||||
<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>
|
||||
</h1>
|
||||
</div>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<ul>
|
||||
<li class="{% if page.overview %}current{% endif %}">
|
||||
<a href="{{ site.url }}/">Overview</a>
|
||||
<a href="/">Overview</a>
|
||||
</li>
|
||||
<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 class="{% if page.author %}current{% endif %}">
|
||||
<a href="{{ site.url }}/news/">News</a>
|
||||
<a href="/news/">News</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ site.repository }}"><span class="hide-on-mobiles">View on </span>GitHub</a>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="section-nav">
|
||||
<div class="left align-right">
|
||||
{% if page.prev_section != null %}
|
||||
<a href="{{ site.url }}/docs/{{ page.prev_section }}/" class="prev">
|
||||
<a href="/docs/{{ page.prev_section }}/" class="prev">
|
||||
Back
|
||||
</a>
|
||||
{% else %}
|
||||
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
<div class="right align-left">
|
||||
{% if page.next_section != null %}
|
||||
<a href="{{ site.url }}/docs/{{ page.next_section }}/" class="next">
|
||||
<a href="/docs/{{ page.next_section }}/" class="next">
|
||||
Next
|
||||
</a>
|
||||
{% else %}
|
||||
|
|
|
@ -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/atom+xml" title="Recent commits to Jekyll’s 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="{{ site.url }}/css/screen.css">
|
||||
<link rel="icon" type="image/png" href="{{ site.url }}/favicon.png">
|
||||
<script src="{{ site.url }}/js/modernizr-2.7.1.min.js"></script>
|
||||
<link rel="stylesheet" href="/css/screen.css">
|
||||
<link rel="icon" type="image/png" href="/favicon.png">
|
||||
<script src="/js/modernizr-2.7.1.min.js"></script>
|
||||
</head>
|
||||
|
|
Loading…
Reference in New Issue