Misc stuff, about page works
This commit is contained in:
58
content/posts/index.md
Normal file
58
content/posts/index.md
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
title: Blog
|
||||
---
|
||||
# Frenetic Scribblings
|
||||
|
||||
There's a reason I call them *frenetic scribblings*. From my brain to yours, an (almost) unmoderated stream of conciousness. I write about my thoughts on life and the world but most of all I want to make people think.
|
||||
|
||||
I'm a believer in the proper use of the full range of language. Including profanity - oftentimes you just can't replace its expressiveness.
|
||||
|
||||
Medium Posts converted with [this](https://github.com/Donohue/medium-to-jekyll). Love those moments when someone's already written a script you were about to write! :)
|
||||
|
||||
{% if site.paginate %}
|
||||
{% assign posts = paginator.posts %}
|
||||
{% else %}
|
||||
{% assign posts = site.posts %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
{%- if posts.size > 0 -%}
|
||||
{%- if page.list_title -%}
|
||||
<h2 class="post-list-heading">{{ page.list_title }}</h2>
|
||||
{%- endif -%}
|
||||
<ul class="post-list">
|
||||
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
||||
{%- for post in posts -%}
|
||||
<li>
|
||||
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
||||
<h3>
|
||||
<a class="post-link" href="{{ post.url | relative_url }}">
|
||||
{{ post.title | escape }}
|
||||
</a>
|
||||
</h3>
|
||||
{%- if site.show_excerpts -%}
|
||||
{{ post.excerpt }}
|
||||
{%- endif -%}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
|
||||
{% if site.paginate %}
|
||||
<div class="pager">
|
||||
<ul class="pagination">
|
||||
{%- if paginator.previous_page %}
|
||||
<li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page }}</a></li>
|
||||
{%- else %}
|
||||
<li><div class="pager-edge">•</div></li>
|
||||
{%- endif %}
|
||||
<li><div class="current-page">{{ paginator.page }}</div></li>
|
||||
{%- if paginator.next_page %}
|
||||
<li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li>
|
||||
{%- else %}
|
||||
<li><div class="pager-edge">•</div></li>
|
||||
{%- endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{%- endif %}
|
||||
|
||||
{%- endif -%}
|
||||
Reference in New Issue
Block a user