---
layout: default
---
{% include header.html %}
<h1 id='post-title'>{{ page.title }}</h1>
<main>
	<article id='post-content'>
		<section id='post-info'>
			<i class='material-icons'>person</i> By {{ page.author }} <br>
			<i class='material-icons'>access_time</i> Published {{ page.date | date_to_long_string: "ordinal" }} <br>
			<i class='material-icons'>group_work</i> Categories:
			{{ " " }}{%- for category in page.categories -%}
			<a href='/categories/{{ category }}'>{{ category }}</a>
			{%- unless category == page.categories.last %}, {% endunless %}
			{%- endfor %} <br>
			<i class='material-icons'>label</i> Tags:
			{{ " " }}{%- for tag in page.tags -%}
			<a href='/tags/{{ category }}'>{{ tag }}</a>
			{%- unless tag == page.tags.last %}, {% endunless %}
			{%- endfor %}
		</section>
		<section id='post-body'>
			{{ content }}
		</section>
		<!-- <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a> -->
		<hr>
		<section id='post-related'>
			<h2 id='related'>Posts like this</h2>
			<div id='post-related-posts'>
				{% for post in site.related_posts | limit: 3 -%}
				<div class='related-post'>
					<div class='related-title'>{{ post.title }}</div>
					<p>
						{% if post.summary %}{{ post.summary }}{% else %}{{ post.excerpt | summarise }}{% endif %}
					</p>
					<a href='{{ post.url }}'>Read more</a>
				</div>
				{%- endfor %}
			</div>
		</section>
		<section id='post-share'>
			<h2 id='share'>Share this post</h2>
			coming soon uwu
		</section>
		<section id='post-comments'>
			<h2 id='comments'>Leave a comment</h2>
			coming soon uwu
		</section>
	</article>
</main>