convert include to macros

This commit is contained in:
Beverly Nguyen
2024-11-26 12:58:32 -08:00
parent 2fa9c1ed7d
commit 562f835096
11 changed files with 33 additions and 19 deletions

View File

@@ -1,4 +1,5 @@
{% extends "base.html" %}
{% import "components/nav_breadcrumb.html" as breadcrumbs %}
{% set page_title = "Measuring performance with benchmarking" %}
@@ -7,9 +8,8 @@
{% endblock %}
{% block content_column_content %}
{% with title=page_title, parent_menu_title="Guides" %}
{% include "components/nav_breadcrumb.html" %}
{% endwith %}
{{ breadcrumbs.breadcrumb(page_title, "Guides", "main.best_practices") }}
<section class="usa-prose">
<h1>{{page_title}}</h1>
<p class="font-sans-lg text-base">Learn how effective your texting program can be.</p>