Add blog post page and prevent HTML compression locally

This commit is contained in:
Thomas Busby
2018-05-30 23:09:04 +02:00
parent 18a2972dcd
commit 053e34a3d6
4 changed files with 30 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ If you want to create a new "subsection" type collection, you'll have to wire th
I use British spelling conventions because that's what I grew up with. For the sake of keeping the site internally consistent, I may ask you to "correct" your spellings to British spellings for any content you submit.
### Dates formats
Exact dates should be given in the following format: 31-Oct-2008. This is because this format is unambigious when accounting for US vs inernational date standards. Always use three-letter months. Other date formats I'll accept are:
Exact dates should be given in the following format: 31-Oct-2008. This is because this format is unambiguous when accounting for US vs inernational date standards. Always use three-letter months. Other date formats I'll accept are:
+ 1990s (for a broad period of time without clear beginnings and ends)
+ Aug-Sep 2013 (for a month-to-month range in the same year)

View File

@@ -55,6 +55,8 @@ share:
fb_appid:
urls:
- text: Blog
url: /blog
- text: XML Feed
url: /feed.xml
@@ -78,3 +80,5 @@ compress_html:
clippings: all
comments: ["<!-- ", " -->"]
endings: all
ignore:
envs: ['development']

22
blog.html Normal file
View File

@@ -0,0 +1,22 @@
---
layout: default
---
<div class="index-header" markdown='1'>
<h1>Crypto Anarchy:</h1>
<p>Encryption, digital money, anonymous networks, digital pseudonyms, zero knowledge, reputations, information markets, black markets, collapse of governments.</p>
</div>
<hr>
<h2>Blog Posts</h2>
I probably won't write too much here, but any major changes to the site or anything I want to write about that doesn't fit into an existing category will go here.
<div id="home">
<ol class="posts">
{% for post in site.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a> &raquo; <i><span>{{ post.date | date_to_string }}</span></i></li>
{% endfor %}
</ol>
</div>

View File

@@ -62,6 +62,9 @@ a:hover {
.index-header h1, .index-header p {
font-family: monospace;
}
div#home {
margin-top: 10px;
}
div.content {
padding-top: 10px;
}