fixed title testing

This commit is contained in:
Beverly Nguyen
2024-12-03 13:05:55 -08:00
parent 66c377c39d
commit 4946bed5cc
4 changed files with 11 additions and 19 deletions

View File

@@ -6,9 +6,7 @@
<html lang="{{ htmlLang | default('en') }}" class="{{ htmlClasses }}">
<head>
<title>
{% block pageTitle %}
{% block per_page_title %}{% endblock %} Notify.gov
{% endblock %}
{% block pageTitle %}{% block per_page_title %}{% endblock %} Notify.gov{% endblock %}
</title>
{% include "components/head.html" %}
</head>

View File

@@ -10,9 +10,7 @@
{% set page_title = 'Select or create a template' %}
{% block service_page_title %}
{{page_title}}
{% endblock %}
{% block service_page_title %}{{page_title}}{% endblock %}
{% block maincolumn_content %}

View File

@@ -1,12 +1,7 @@
{% extends "base.html" %}
{% block per_page_title %}
{% if current_org.name %}
{% block org_page_title %}{% endblock %} {{ current_org.name }}
{% else %}
{% block service_page_title %}{% endblock %} {{ current_service.name }}
{% endif %}
{% endblock %}
{% block per_page_title %}{% if current_org.name %}{% block org_page_title %}{% endblock %} {{ current_org.name }}{%
else %}{% block service_page_title %}{% endblock %} {{ current_service.name }}{% endif %}{% endblock %}
{% block main %}
<div class="grid-container">