Skip to content

Commit 32a6151

Browse files
committed
Add a few icons, some structural improvements.
1 parent 3aebf3c commit 32a6151

File tree

10 files changed

+57
-75
lines changed

10 files changed

+57
-75
lines changed

404.html

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,10 @@
11
---
2+
layout: default
3+
date: 2009-12-13 12:53:38
24
title: "Four Oh Four"
35
permalink: /404.html
46
---
5-
<!DOCTYPE html>
6-
<html>
7-
8-
{% include head.html %}
9-
10-
<body>
11-
12-
{% include header.html %}
13-
14-
<div class="page-content">
15-
<h1 class="postTitle"><a href="/">Four Oh Four</a></h1>
16-
<div class="post">
17-
<p>Sorry, nothing here by that name.</p>
18-
</div>
19-
</div>
20-
21-
{% include footer.html %}
22-
23-
</body>
24-
25-
</html>
7+
<h1 class="postTitle"><a href="/">{{ page.title }}</a></h1>
8+
<div class="post">
9+
<p>Sorry, nothing here by that name.</p>
10+
</div>

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ author:
99
uri: "http://esm.logic.net/"
1010
twitter: "esm"
1111
github: "logic"
12+
flickr: "edward_marshall"
1213

1314
markdown: kramdown
1415
highlighter: pygments

_includes/footer.html

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
<footer class="site-footer">
22
<ul class="links">
3-
<li><a href="/about.html">About</a></li>
4-
<li><a href="{{ site.author.uri }}">Blog</a></li>
53
{% if site.author.github %}
64
<li>
75
<a href="https://github.com/{{ site.author.github }}">
86
<span class="icon icon--github">
9-
<svg viewBox="0 0 16 16" width="16px" height="16px">
10-
<path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
11-
</svg>
7+
{% include icons/github.html %}
128
</span>
139
<span class="username">{{ site.author.github }}</span>
1410
</a>
@@ -18,17 +14,37 @@
1814
<li>
1915
<a href="https://twitter.com/{{ site.author.twitter }}">
2016
<span class="icon icon--twitter">
21-
<svg viewBox="0 0 16 16" width="16px" height="16px">
22-
<path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809
23-
c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
24-
</svg>
17+
{% include icons/twitter.html %}
2518
</span>
26-
2719
<span class="username">{{ site.author.twitter }}</span>
2820
</a>
2921
</li>
3022
{% endif %}
31-
<li><a href="http://www.flickr.com/photos/edward_marshall">Flickr</a></li>
32-
<li><a href="/feed.xml" rel="alternate" type="application/atom+xml">Feed</a></li>
23+
{% if site.author.flickr %}
24+
<li>
25+
<a href="https://www.flickr.com/photos/{{ site.author.flickr }}">
26+
<span class="icon icon--flickr">
27+
{% include icons/flickr.html %}
28+
</span>
29+
<span class="username">{{ site.author.flickr }}</span>
30+
</a>
31+
</li>
32+
{% endif %}
33+
<li>
34+
<a href="{{ site.author.uri }}">
35+
<span class="icon icon--link">
36+
{% include icons/link.html %}
37+
</span>
38+
<span class="username">blog</span>
39+
</a>
40+
</li>
41+
<li>
42+
<a href="/feed.xml" rel="alternate" type="application/atom+xml">
43+
<span class="icon icon--rss">
44+
{% include icons/rss.html %}
45+
</span>
46+
<span class="username">feed</span>
47+
</a>
48+
</li>
3349
</ul>
3450
</footer>

_includes/icons/flickr.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<svg viewBox="0 0 100 100" width="16px" height="16px">
2+
<defs>
3+
<mask id="maskFlickr">
4+
<rect width="100%" height="100%" fill="#ffffff"/>
5+
<circle cx="77.6" cy="50" r="15.0"/>
6+
</mask>
7+
</defs>
8+
<circle fill="#828282" cx="22.4" cy="50" r="22.4"/>
9+
<circle fill="#828282" cx="77.6" cy="50" r="22.4" mask="url(#maskFlickr)"/>
10+
</svg>

_includes/icons/github.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<svg viewBox="0 0 100 100" width="16px" height="16px">
2+
<path fill="#828282" d="M65.8,98.7c-2.5,0.5-3.4-1.1-3.4-2.4c0-1.6,0.1-7,0.1-13.7c0-4.7-1.6-7.7-3.4-9.3 c11.1-1.2,22.8-5.5,22.8-24.7c0-5.5-1.9-9.9-5.1-13.4c0.5-1.3,2.2-6.3-0.5-13.2c0,0-4.2-1.3-13.7,5.1c-4-1.1-8.3-1.7-12.5-1.7 c-4.2,0-8.5,0.6-12.5,1.7C27.9,20.6,23.7,22,23.7,22c-2.7,6.9-1,12-0.5,13.2c-3.2,3.5-5.2,8-5.2,13.4c0,19.2,11.7,23.4,22.8,24.7 c-1.4,1.2-2.7,3.5-3.2,6.7c-2.9,1.3-10.1,3.5-14.5-4.2c0,0-2.6-4.8-7.7-5.2c0,0-4.9-0.1-0.3,3c0,0,3.3,1.5,5.6,7.3 c0,0,2.9,8.9,16.8,5.9c0,4.2,0.1,8.1,0.1,9.3c0,1.3-0.9,2.9-3.4,2.4C14.3,92.1,0,73.3,0,51.2c0-27.6,22.4-50,50-50 c27.6,0,50,22.4,50,50C100,73.3,85.7,92.1,65.8,98.7z"/>
3+
</svg>

_includes/icons/link.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<svg viewBox="0 0 24 24" width="16px" height="16px">
2+
<path fill="#828282" d="M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z" />
3+
</svg>

_includes/icons/rss.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<svg viewBox="0 0 16 16" width="16px" height="16px">
2+
<path fill="#828282" d="M12.8 16C12.8 8.978 7.022 3.2 0 3.2V0c8.777 0 16 7.223 16 16h-3.2zM2.194 11.61c1.21 0 2.195.985 2.195 2.196 0 1.21-.985 2.194-2.196 2.194C.984 16 0 15.017 0 13.806c0-1.21.983-2.195 2.194-2.195zM10.606 16h-3.11c0-4.113-3.383-7.497-7.496-7.497v-3.11c5.818 0 10.606 4.79 10.606 10.607z"/>
3+
</svg>

_includes/icons/twitter.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<svg viewBox="0 0 100 100" width="16px" height="16px">
2+
<path fill="#828282" d="M100,19c-3.7,1.6-7.6,2.7-11.8,3.2c4.2-2.5,7.5-6.6,9-11.4c-4,2.4-8.4,4.1-13,5c-3.7-4-9.1-6.5-15-6.5 c-11.3,0-20.5,9.2-20.5,20.5c0,1.6,0.2,3.2,0.5,4.7c-17.1-0.9-32.2-9-42.3-21.4c-1.8,3-2.8,6.6-2.8,10.3c0,7.1,3.6,13.4,9.1,17.1 c-3.4-0.1-6.5-1-9.3-2.6c0,0.1,0,0.2,0,0.3c0,9.9,7.1,18.2,16.5,20.1c-1.7,0.5-3.5,0.7-5.4,0.7c-1.3,0-2.6-0.1-3.9-0.4 c2.6,8.1,10.2,14.1,19.2,14.2c-7,5.5-15.9,8.8-25.5,8.8c-1.7,0-3.3-0.1-4.9-0.3c9.1,5.8,19.9,9.2,31.4,9.2 c37.7,0,58.4-31.3,58.4-58.4c0-0.9,0-1.8-0.1-2.7C93.8,26.7,97.3,23.1,100,19z"/>
3+
</svg>

about.html

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

sitemap.xml

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

0 commit comments

Comments
 (0)