Initial commit.
This commit is contained in:
commit
9cd3cf1aa7
63 changed files with 2981 additions and 0 deletions
58
blog/blog.html
Normal file
58
blog/blog.html
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
---
|
||||
layout: default
|
||||
title: /blog/index.fun
|
||||
subtitle: This is a work in progress... More to come soon!
|
||||
description: Blog
|
||||
metasub: news
|
||||
noToc: true
|
||||
tags:
|
||||
- fun
|
||||
- project
|
||||
- dynamic
|
||||
- static
|
||||
- programming
|
||||
- blog
|
||||
- language
|
||||
permalink: /blog/
|
||||
---
|
||||
|
||||
<div class="post">
|
||||
<header class="post-header">
|
||||
<h1 class="post-title" id="terminal">{{ site.title }} {{ page.title }}</h1>
|
||||
<p>{{ page.subtitle }}</p>
|
||||
</header>
|
||||
</div>
|
||||
|
||||
<h2>Latest posts - <a href="/blog/feed/" title="Blog Feed" class="rss">Blog Feed</a></h2>
|
||||
|
||||
{% for post in site.tags.pinned %}
|
||||
<article class="post-content">
|
||||
<h3><a href="{{ post.url }}" title="{{ post.title }}">{{ post.url }}</a> <span style="cursor:help; float: right;" title="Pinned Post!">📌</span></h3>
|
||||
<p class="post-meta">{{ post.date | date: "%b %-d, %Y %H:%M:%S" }} ({{ post.date | date: "%b %-d, %Y %H:%M:%S" | date: "%Z" }})
|
||||
{% if post.date_updated %} - Edited: {{ post.date_updated | date: "%b %-d, %Y %H:%M:%S" }}{% endif %} ({{ post.date_updated | date: "%b %-d, %Y %H:%M:%S" | date: "%Z" }}){% if post.author %}, <a href="{{ site.git_short }}/{{ post.author }}" target="_blank" class="user">{{ post.author }}</a>{% endif %}</p>
|
||||
{{ post.content | truncatewords: site.truncatewords_length }}
|
||||
<p style="text-align:right;"><a href="{{ post.url }}" title="{{ post.url }}">[Read post]</a></p>
|
||||
</article>
|
||||
{% endfor %}
|
||||
|
||||
{% for post in site.posts %}
|
||||
{% unless post.tags contains 'pinned' %}
|
||||
<article class="post-content">
|
||||
<h3><a href="{{ post.url }}" title="{{ post.title }}">{{ post.url }}</a></h3>
|
||||
<p class="post-meta">{{ post.date | date: "%b %-d, %Y %H:%M:%S" }} ({{ post.date | date: "%b %-d, %Y %H:%M:%S" | date: "%Z" }})
|
||||
{% if post.date_updated %} - Edited: {{ post.date_updated | date: "%b %-d, %Y %H:%M:%S" }}{% endif %} ({{ post.date_updated | date: "%b %-d, %Y %H:%M:%S" | date: "%Z" }}){% if post.author %}, <a href="{{ site.git_short }}/{{ post.author }}" target="_blank" class="user">{{ post.author }}</a>{% endif %}</p>
|
||||
{{ post.content | truncatewords: site.truncatewords_length }}
|
||||
<p style="text-align:right;"><a href="{{ post.url }}" title="{{ post.url }}">[Read post]</a></p>
|
||||
</article>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
|
||||
<h2>$ cd</h2>
|
||||
|
||||
<div id="pages">
|
||||
{% if paginator.page == 1 %}<a href="/blog/" class="active" title="Page 1">1</a>{% else %}<a href="/blog/" title="Page 1">1</a>{% endif %}
|
||||
{% for count in (2..paginator.total_pages) %}
|
||||
{% if count == paginator.page %}<a href="/{{ count }}/" class="active" title="Page {{ count }}">{{ count }}</a>{% else %}<a href="/{{ count }}/" title="Page {{ count }}">{{ count }}</a>{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue