add ghost api basics

This commit is contained in:
2022-05-19 22:08:42 -04:00
parent 5fb0d147ed
commit 475def08ca
11 changed files with 231 additions and 22 deletions

View File

@ -24,7 +24,8 @@
</header>
<main>
{{ content | safe }}
{% block content %}
{% endblock content %}
</main>
<footer>

View File

@ -0,0 +1,21 @@
{% extends 'layouts/default.njk' %}
{% set title = post.title %}
{% set codeinjection_head = post.codeinjection_head %}
{% set codeinjection_foot = post.codeinjection_foot %}
{% block content %}
<article class="content">
{% if post.feature_image %}
<figure class="post-feature-image">
<img src="{{ post.feature_image }}" alt="{{ title }}">
</figure>
{% endif %}
<section class="post-full-content">
<h1 class="content-title">{{ title }}</h1>
<section class="content-body load-external-scripts">
{{ content | safe }}
</section>
</section>
</article>
{% endblock %}