diff options
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/feed.xml | 23 | ||||
| -rw-r--r-- | _includes/footer.html | 17 | ||||
| -rw-r--r-- | _includes/head.html | 11 | ||||
| -rw-r--r-- | _includes/header.html | 3 |
4 files changed, 54 insertions, 0 deletions
diff --git a/_includes/feed.xml b/_includes/feed.xml new file mode 100644 index 0000000..310c90b --- /dev/null +++ b/_includes/feed.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<rss version="2.0" + xmlns:content="http://purl.org/rss/1.0/modules/content/" + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:media="http://search.yahoo.com/mrss/" + xmlns:atom="http://www.w3.org/2005/Atom"> + <channel> + <title>{{ site.title | xml_escape }}</title> + <link>{{ site.url }}{{ site.baseurl }}</link> + <description>{{ site.description | xml_escape }}</description> + <atom:link href="{{ site.url }}{{ site.baseurl }}/feed.xml" rel="self" type="application/rss+xml"/> + + {% for post in site.posts limit:10 %} + <item> + <title>{{ post.title | xml_escape }}</title> + <link>{{ site.url }}{{ post.url }}</link> + <guid isPermaLink="false">{{ site.url }}{{ post.url }}</guid> + <pubDate>{{ post.date | date_to_rfc822 }}</pubDate> + <description><![CDATA[{{ post.content | xml_escape }}]]></description> + </item> + {% endfor %} + </channel> +</rss>
\ No newline at end of file diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..1f27e5a --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,17 @@ +<footer> + <p>This is my footer. There are many like it but this one is mine.</p> + <nav id="menu"> + <ul> + <li><a href="/">Home</a></li> + <li><a href="/posts">Posts</a></li> + <li><a href="/wiki">Wiki</a></li> + <li><a href="/projects">Projects</a></li> + <li><a href="/colophon">Colophon</a></li> + <li><a href="/uses">Uses</a></li> + <li><a href="/pizza">Pizza</a></li> + <li><a href="/recipes">Recipes</a></li> + <li><a href="/now">Now</a></li> + <li><a href="/resume">Resume</a></li> + </ul> + </nav> +</footer> diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..33002b3 --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,11 @@ +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="color-scheme" content="dark light"> + <link rel="stylesheet" type="text/css" href="/stylesheets/main.css"> + <link rel="stylesheet" type="text/css" href="/stylesheets/pygments.css"> + <link rel="icon" href="data:,"> + {%- feed_meta -%} + <title>{% if page.title %}{{ page.title }} ·{% endif %} {{ site.meta_title | escape }}</title> +</head> diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..164fe0c --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,3 @@ +<header> + <a href="/">Home</a><span> / </span><a class="menu" href="#menu">Menu ↓</a> +</header>
\ No newline at end of file |
