Browse Source

Fix layout and links

gh-pages
Alex Williams 5 years ago
parent
commit
85fd9feb60
Signed by: aw GPG Key ID: 19EE4AAA361A7E2C
  1. 10
      _includes/head.html
  2. 4
      _includes/sidebar.html
  3. 2
      _layouts/post.html

10
_includes/head.html

@ -15,14 +15,14 @@
</title>
<!-- CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">
<link rel="stylesheet" href="/public/css/poole.css">
<link rel="stylesheet" href="/public/css/syntax.css">
<link rel="stylesheet" href="/public/css/hyde.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}public/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/public/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/public/favicon.ico">
<!-- RSS -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">

4
_includes/sidebar.html

@ -2,7 +2,7 @@
<div class="container sidebar-sticky">
<div class="sidebar-about">
<h1>
<a href="{{ site.baseurl }}">
<a href="{{ site.url }}">
{{ site.title }}
</a>
</h1>
@ -12,7 +12,7 @@
<nav class="sidebar-nav">
<ul>
{% for post in site.posts %}
<li><a href="{{ site.baseurl }}{{ post.url }}">
<li><a href="{{ site.url }}{{ post.url }}">
{{ post.name }}
</a></li>
{% endfor %}

2
_layouts/post.html

@ -14,7 +14,7 @@ layout: default
{% for post in site.related_posts limit:3 %}
<li>
<h3>
<a href="{{ site.baseurl }}{{ post.url }}">
<a href="{{ site.url }}{{ post.url }}">
{{ post.title }}
<small>{{ post.date | date_to_string }}</small>
</a>

Loading…
Cancel
Save