More template progress

This commit is contained in:
2023-04-01 17:43:17 -05:00
parent 99093749bc
commit e392ab900c
4 changed files with 15 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
<article class="post"> <article class="post">
{{ Model.Content.ContentsMetadata | shape_render }}
<h1 class="post-title">{{ Model.ContentItem.DisplayText }}</h1> <h1 class="post-title">{{ Model.ContentItem.DisplayText }}</h1>
<div class="post-info d-flex justify-content-start"> <div class="post-info d-flex justify-content-start">

View File

@@ -34,7 +34,11 @@
</div> </div>
</header> </header>
{% shape "menu", alias: "alias:main-menu", cache_id: "main-menu", cache_fixed_duration: "00:05:00", cache_tag:
"alias:main-menu" %}
<main> <main>
<div class="container"> <div class="container">
{% render_body %} {% render_body %}
</div> </div>

View File

@@ -0,0 +1,7 @@
<nav class="main">
<div class="container d-flex justify-content-center">
{% for item in Model.Items %}
{{ item | shape_render }}
{% endfor %}
</div>
</nav>

View File

@@ -0,0 +1,3 @@
{% assign link = Model.ContentItem.Content.LinkMenuItemPart %}
<a href="{{ link.Url | href }}">{{ Model.ContentItem.DisplayText}}</a>