{% extends "page.html" %}

{% block title %}
	<div class="header">
		<h1>{{ page.title }}</h1>
		<span class="text-muted small"><time pubdate datetime="{{ page.created|isoformat }}"><a href="{{ page.url }}">{{ page.created|strftime(commons.date_format) }}</a></time> • Tags: {{ tags_list(page.tags, inline=True) }}{%- if page.source_url %} • <a href="{{ page.source_url }}">Source</a>{% endif -%}</span>
	</div>
{% endblock %}

{% block middle %}
	<div class="row text-muted flipper">
	  <div class="col-md-4">
			{%- if page.prev_url -%}
				&larr;&nbsp;<a href="{{ page.prev_url }}" title="{{ page.prev_title }}">Previous post</a>
			{%- endif -%}
	  </div>
	  <div class="col-md-4 center">
			{%- if commons.pluso_enabled -%}
	  		{{- pluso(page.url) -}}
			{%- endif -%}
	  </div>
	  <div class="col-md-4 right">
			{%- if page.next_url %}
				<a href="{{ page.next_url }}" title="{{ page.next_title }}">Next post</a>&nbsp;&rarr;
			{%- endif -%}
	  </div>
	</div>
{% endblock %}

{% block comments %}
	{%- if commons.id_disqus -%}
		{{- disqus_comments(commons.id_disqus) -}}
	{%- endif -%}
{% endblock %}
