Start Theme Repo
This commit is contained in:
26
views/pages/generic.twig
Normal file
26
views/pages/generic.twig
Normal file
@@ -0,0 +1,26 @@
|
||||
{% extends 'base.twig' %}
|
||||
|
||||
{% block page %}
|
||||
|
||||
<article id="post-{{ post.ID }}" {{ fn('post_class') }}>
|
||||
<header class="entry-header">
|
||||
<h1 class="page-title">{{ post.title }}</h1>
|
||||
</header>
|
||||
|
||||
{{ fn('the_post_thumbnail') }}
|
||||
|
||||
<div class="post-content">
|
||||
<div class="entry-content clearfix">
|
||||
|
||||
{% block page_content %}
|
||||
|
||||
{{ post.content }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user