portfolio/_layouts/post.html

34 lines
745 B
HTML

---
layout: default
---
<h1>
{% if page.href %}
<a href="{{ page.href }}" target="_blank">{{ page.title }}</a>
{% else %}
{{ page.title }}
{% endif %}
</h1>
{% if page.image %}
<div class="page-image-container">
<a href="{{ page.href }}" target="_blank">
<img src="{{ site.github.url }}/assets/img/{{ page.image }}">
</a>
</div>
{% endif %}
<article>
{{ content }}
</article>
{% if site.hide_post_date != true %}
{% include post-date.html %}
{% endif %}
{% if site.hide_post_share != true %}
{% include social-sharing.html %}
{% endif %}
{% if site.hide_related_posts != true %}
{% include related-posts.html %}
{% endif %}
{% if site.data.settings.disqus.comments %}
{% include disqus.html %}
{% endif %}