pages/index.html

51 lines
1.9 KiB
HTML
Raw Normal View History

---
layout: default
title: The Paper Pilot
nocard: true
---
2016-09-06 23:19:50 +00:00
<div class="card">
2016-09-07 00:55:47 +00:00
<h1>Hello!</h1>
2016-09-06 23:19:50 +00:00
I'm The Paper Pilot, and I develop free, open source programs and games, using a variety of languages and engines. I'm currently working towards my B.S. in Computer Science, after which I hope to go on to getting a Masters degree, with a focus on Data Science.
</div>
{% for post in paginator.posts %}
<div class="cite" style="background: #fff;border-radius: 2px;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);">
<div class="card">
<h1>{{ post.title }}</h1>
{{ post.content }}
2016-09-07 00:55:47 +00:00
<a style="font-weight: bold;" href="{{ post.url }}">read more</a>
</div>
<ul class="inline" style="display: inline-block; margin-bottom: 1em;">
{{ post.date | date: '%B %d, %Y' }}
{% for tag in post.tags %}
<li><a href="/tags/#{{ tag | slugify }}"> {{ tag }} </a></li>
{% endfor %}
</ul>
</div>
{% endfor %}
{% if paginator.total_pages > 1 %}
<div class="card">
2016-09-07 00:55:47 +00:00
<ul class="inline">
{% if paginator.previous_page %}
<li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a></li>
{% endif %}
2016-09-07 00:55:47 +00:00
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<li><em>{{ page }}</em></li>
{% elsif page == 1 %}
<li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a></li>
{% else %}
<li><a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a></li>
{% endif %}
{% endfor %}
2016-09-07 00:55:47 +00:00
{% if paginator.next_page %}
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a></li>
{% endif %}
</ul>
</div>
{% endif %}