Home page
This commit is contained in:
parent
38d5e30c3a
commit
ce5db590ca
@ -1,26 +0,0 @@
|
|||||||
---
|
|
||||||
permalink: "posts.html"
|
|
||||||
layout: default
|
|
||||||
title: "Posts"
|
|
||||||
show: true
|
|
||||||
---
|
|
||||||
|
|
||||||
<section class="container list">
|
|
||||||
<h1 class="title">{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h1>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
{% for item in site.posts %}
|
|
||||||
<li>
|
|
||||||
<span>
|
|
||||||
<time datetime="{{ item.date | date_to_xmlschema }}">
|
|
||||||
{{ item.date | date_to_long_string }}
|
|
||||||
</time>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<a href="{{ item.url | relative_url | uri_escape }}">
|
|
||||||
{{ item.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endfor%}
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
@ -1,18 +1,20 @@
|
|||||||
---
|
---
|
||||||
permalink: "index.html"
|
permalink: "index.html"
|
||||||
layout: default
|
layout: page
|
||||||
---
|
---
|
||||||
|
|
||||||
<section class="container centered">
|
{% for post in site.posts %}
|
||||||
<div class="about">
|
<div class="header">
|
||||||
<h1>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h1>
|
<h2 class="header-title">
|
||||||
<h2>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h2>
|
<a href="{{ post.url | relative_url | uri_escape }}">
|
||||||
<ul>
|
{{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
|
||||||
{% for item in site.social_links %}
|
</a>
|
||||||
{% assign title = item[0] | strip_newlines | strip_html | strip | normalize_whitespace | smartify %}
|
</h2>
|
||||||
{% assign link = item[1] | strip_newlines | strip_html | strip | uri_escape %}
|
{% if post.description %}
|
||||||
<li><a href="{{ link }}" target="_blank">{{ title }}</a></li>
|
<p class="header-annotation">
|
||||||
{% endfor %}
|
{{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
|
||||||
</ul>
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
<time>{{ post.date | date_to_long_string }}</time>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user