This commit is contained in:
rzen
2019-07-21 22:16:23 -04:00
commit 8853b7c668
48 changed files with 1682 additions and 0 deletions

BIN
_layouts/.DS_Store vendored Normal file

Binary file not shown.

15
_layouts/base.html Normal file
View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="{{page.lang | default:"en"}}">
{% include head.html %}
<body>
{% include header.html %}
{{ content
| replace: '<!--qed-->', ' <span class=qed>&#8718;</span>'
| replace: '\=\>', '&#8658;'
}}
{% include footer.html %}
{% include google_analytics.html %}
<!-- Page generated {{ site.time }} -->
<!-- Page ID {{ page.id }} -->
</body>
</html>

8
_layouts/page.html Normal file
View File

@ -0,0 +1,8 @@
---
layout: base
---
<main>
<article>
{{ content }}
</article>
</main>

9
_layouts/post.html Normal file
View File

@ -0,0 +1,9 @@
---
layout: base
---
<main>
<article>
<h1>{{ page.title }}</h1>
{{ content }}
</article>
</main>

48
_layouts/tags.html Normal file
View File

@ -0,0 +1,48 @@
---
layout: base
---
<main>
<h1>{{ page.tag }}</h1>
<table>
<tbody>
<tr>
<td width="60%" cellpadding=10>
{% assign prev_year = 'first run' %}
{% assign sorted_posts = page.posts | sort: "date" | reverse %}
{% for post in sorted_posts %}
{% assign current_year = post.date | date: "%Y" %}
{% if current_year != prev_year %}
{% if prev_year != 'first run' %}
</ul>
{% endif %}
{% assign prev_year = current_year %}
<h2 class="year">{{ current_year | default: '<em>undated</em>' }}</h2>
<ul class="index">
{% endif %}
<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a><span class="posted">{{ post.date | date: "%b %-d" }}</span></li>
{% if current_year != date %}
{% endif %}
{% endfor %}
</td>
<td>
<div id="tag-cloud">
{{ site | tag_cloud }}
</div>
</td>
</tr>
</tbody>
</table>
</main>