portfolio/_layouts/post.html

34 lines
745 B
HTML
Raw Normal View History

2023-12-17 15:16:04 +00:00
---
layout: default
---
<h1>
2023-12-17 22:24:47 +00:00
{% if page.href %}
2023-12-17 15:16:04 +00:00
<a href="{{ page.href }}" target="_blank">{{ page.title }}</a>
2023-12-17 22:24:47 +00:00
{% else %}
{{ page.title }}
{% endif %}
2023-12-17 15:16:04 +00:00
</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 %}