-
Notifications
You must be signed in to change notification settings - Fork 0
/
unpublished.html
54 lines (45 loc) · 1.85 KB
/
unpublished.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
layout: default
---
<main class="post-list">
<div class="text-center">
<p>Hello, I'm Mark Fischer. I am a Digital Experience Architect at ArcBest.</p>
<p>
<a href="https://github.com/flyingfisch">GitHub</a> ∙
<a href="http://codepen.io/flyingfisch/">Codepen</a> ∙
<a href="https://twitter.com/flyingfisch_">Twitter</a> ∙
<a href="https://www.linkedin.com/in/flyingfisch">LinkedIn</a> ∙
<a href="https://stackoverflow.com/story/markfischerjr">StackOverflow</a>
</p>
</div>
<p class="text-center">
<em>Showing unpublished posts. <a href="{{ site.baseurl }}/">Back to home</a></em>
</p>
{% for post in site.posts %}
<article class="post">
<div class="post-info">
{% if post.author %}<strong>Author:</strong> {{ post.author }}<br>{% endif %}
<strong>Posted:</strong> {{ post.date | date: "%b %-d, %Y" }}<br>
{% unless post.categories == empty %}
<strong>Categories:</strong> {{ post.categories | join: ', ' }}<br>
{% endunless %}
{% if post.meta %}<strong>Meta:</strong> {{ post.meta }}{% endif %}
</div>
<section>
<h1><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
<p>
{{ post.content
| strip
| replace: '</h1>', '¶'
| replace: '</h2>', '¶'
| replace: '</p>','¶'
| strip_html
| truncatewords: 50
| replace: '¶', '<span class="light"> ¶</span>'
}}
</p>
</section>
</article>
{% endfor %}
<h1 style="text-align: center;"><a href="categories.html">Categories</a></h1>
</main>