Skip to content

Commit

Permalink
#61 updates page.twig to use an h1 banner
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesKhong committed Mar 8, 2024
1 parent 052cdd6 commit 1045651
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions views/templates/pages/page.twig
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{% extends "base.twig" %}

{% block content %}
<div class="content-wrapper">
<article class="post-type-{{post.post_type}}" id="post-{{post.ID}}">
{% include "organisms/blocks/banner/hero.twig" %}
<section class="article-content">
<div class="article-body">
{{post.content}}
</div>
</section>
</article>
</div><!-- /content-wrapper -->
{% set bg_color = 'ts-bg-lt' %}
<div class="content-wrapper">
<article class="post-type-{{ post.post_type }} {{ bg_color }}" id="post-{{ post.ID }}">
{% include "organisms/blocks/banner/hero.twig" with {
presentation: 'default',
is_hero: 1
} %}
<main class="article-content">
<div class="article-body">
{{ post.content }}
</div>
</main>
</article>
</div><!-- /content-wrapper -->
{% endblock %}

0 comments on commit 1045651

Please sign in to comment.