Skip to content

Commit aff390f

Browse files
committed
Moved to hyde theme
1 parent 8e288e9 commit aff390f

7 files changed

Lines changed: 272 additions & 79 deletions

File tree

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66

77
<div class="page">
88
<h1 class="page-title">404: Page not found</h1>
9-
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}/">Head back home</a> to try finding it again.</p>
9+
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}">Head back home</a> to try finding it again.</p>
1010
</div>

_includes/head.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,18 @@
1010
{% if page.title == "Home" %}
1111
{{ site.title }} &middot; {{ site.tagline }}
1212
{% else %}
13-
{{ site.title }} &middot; {{ page.title }}
13+
{{ page.title }} &middot; {{ site.title }}
1414
{% endif %}
1515
</title>
1616

1717
<!-- CSS -->
1818
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/poole.css">
1919
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/syntax.css">
20-
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/lanyon.css">
21-
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700%7CPT+Sans:400">
20+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/hyde.css">
21+
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
2222

2323
<!-- Icons -->
24-
25-
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.svg">
24+
<link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.svg">
2625

2726
<!-- RSS -->
2827
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">

_includes/sidebar.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
2-
styles, `#sidebar-checkbox` for behavior. -->
3-
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox" checked>
4-
5-
<!-- Toggleable sidebar -->
6-
<div class="sidebar" id="sidebar">
7-
<div class="sidebar-item">
8-
<p>{{ site.description }}</p>
9-
</div>
1+
<div class="sidebar">
2+
<div class="container sidebar-sticky">
3+
<div class="sidebar-about">
4+
<h1>
5+
<a href="{{ site.baseurl }}">
6+
{{ site.title }}
7+
</a>
8+
</h1>
9+
<p class="lead">{{ site.description }}</p>
10+
</div>
1011

1112
<nav class="sidebar-nav">
1213
<a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}/">Home</a>
@@ -25,4 +26,4 @@
2526
Powered by <a href="https://jekyllrb.com">Jekyll</a> and <a href="https://github.com/poole/lanyon">Lanyon</a>.
2627
</p>
2728
</div>
28-
</div>
29+
</div></div>

_layouts/default.html

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,13 @@
33

44
{% include head.html %}
55

6-
<body>
6+
<body class="theme-base-0d layout-reverse">
77

88
{% include sidebar.html %}
99

10-
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
11-
content to avoid any CSS collisions with our real content. -->
12-
<div class="wrap">
13-
<div class="masthead">
14-
<div class="container">
15-
<h3 class="masthead-title">
16-
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a>
17-
<small>{{ site.tagline }}</small>
18-
</h3>
19-
</div>
20-
</div>
21-
22-
<div class="container content">
23-
{{ content }}
24-
</div>
10+
<div class="content container">
11+
{{ content }}
2512
</div>
2613

27-
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
28-
29-
<script>
30-
(function(document) {
31-
var toggle = document.querySelector('.sidebar-toggle');
32-
var sidebar = document.querySelector('#sidebar');
33-
var checkbox = document.querySelector('#sidebar-checkbox');
34-
35-
document.addEventListener('click', function(e) {
36-
var target = e.target;
37-
38-
if(!checkbox.checked ||
39-
sidebar.contains(target) ||
40-
(target === checkbox || target === toggle)) return;
41-
42-
checkbox.checked = false;
43-
}, false);
44-
})(document);
45-
</script>
4614
</body>
4715
</html>

_layouts/post.html

Lines changed: 0 additions & 25 deletions
This file was deleted.

atom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ layout: null
66
<feed xmlns="http://www.w3.org/2005/Atom">
77

88
<title>{{ site.title }}</title>
9-
<link href="{{ site.url }}{{ site.baseurl }}/atom.xml" rel="self"/>
10-
<link href="{{ site.url }}{{ site.baseurl }}/"/>
9+
<link href="{{ site.url }}/atom.xml" rel="self"/>
10+
<link href="{{ site.url }}/"/>
1111
<updated>{{ site.time | date_to_xmlschema }}</updated>
1212
<id>{{ site.url }}</id>
1313
<author>
@@ -20,7 +20,7 @@ layout: null
2020
<title>{{ post.title }}</title>
2121
<link href="{{ site.url }}{{ post.url }}"/>
2222
<updated>{{ post.date | date_to_xmlschema }}</updated>
23-
<id>{{ site.url }}{{ site.baseurl }}{{ post.id }}</id>
23+
<id>{{ site.url }}{{ post.id }}</id>
2424
<content type="html">{{ post.content | xml_escape }}</content>
2525
</entry>
2626
{% endfor %}

0 commit comments

Comments
 (0)