initial commit

This commit is contained in:
Pat Dryburgh
2018-07-30 18:11:43 -07:00
commit c9ddf7a307
28 changed files with 1612 additions and 0 deletions

19
_layouts/default.html Normal file
View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<title>{{ site.title }} {{ page.title }}</title>
<link rel="stylesheet" href="{{ '/assets/css/main.css' | prepend: site.baseurl | apend: site.time }}">
</head>
<body>
{{ content }}
</body>
</html>

35
_layouts/home.html Normal file
View File

@ -0,0 +1,35 @@
---
layout: default
---
<header class="site-masthead">
<h1>
{{ site.title }}
</h1>
<h2>
{{ site.description }}
</h2>
</header>
<main class="home">
<h1>
Contents
</h1>
<ul class="post-list">
{% for post in site.posts %}
<li>
<a href="{{ post.url }}" class="post-link">
<span class="post-title">
{{ post.title }}
</span>
<span class="post-date">
{{ post.date | date: "%b %-d, '%y" }}
</span>
</a>
</li>
{% endfor %}
</ul>
</main>

5
_layouts/page.html Normal file
View File

@ -0,0 +1,5 @@
---
layout: default
---
{{ content }}

22
_layouts/post.html Normal file
View File

@ -0,0 +1,22 @@
---
layout: default
---
<a href="{{ "/" | prepend: site.baseurl }}" class="back-link">
&#10094; Home
</a>
<article>
<h1>
{{ page.title }}
</h1>
{{ content }}
<div class="article-meta">
<div>{{ page.author }}</div>
<div class="post-date">{{ page.date | date: "%B %-d, %Y" }}</div>
</div>
</article>