From f10d854617bf08e9a985639e0c75627b59aa3d68 Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Tue, 12 Mar 2024 12:28:30 -0400 Subject: [PATCH] 1258 - Updated the template --- app/templates/new/base.html | 1 + app/templates/new/components/head.html | 42 +++++++++++++++++++++++++ app/templates/new/templates_glossary.md | 1 + 3 files changed, 44 insertions(+) create mode 100644 app/templates/new/components/head.html diff --git a/app/templates/new/base.html b/app/templates/new/base.html index b175cff51..88938b065 100644 --- a/app/templates/new/base.html +++ b/app/templates/new/base.html @@ -6,6 +6,7 @@ + {# {% include "new/components/head.html" %} #} diff --git a/app/templates/new/components/head.html b/app/templates/new/components/head.html new file mode 100644 index 000000000..fe634d3ee --- /dev/null +++ b/app/templates/new/components/head.html @@ -0,0 +1,42 @@ +<head> + <meta charset="utf-8" /> + <title>{% block pageTitle %}Notify.gov{% endblock %} + + + + + {% if config['NR_MONITOR_ON'] %} + {% include "partials/newrelic.html" -%} + {% endif %} + + {# Ensure that older IE versions always render with the correct rendering engine #} + + + {% block headIcons %} + + + + + + {% endblock %} + + + {% block extra_stylesheets %}{% endblock %} + + {% block meta_format_detection %} + + {% endblock %} + {% block og_image %} + + + + {% endblock %} + {# google #} + + + {% if g.hide_from_search_engines %} + + {% endif %} + + {% block head %}{% endblock %} + diff --git a/app/templates/new/templates_glossary.md b/app/templates/new/templates_glossary.md index 81325e26c..bb6b247d6 100644 --- a/app/templates/new/templates_glossary.md +++ b/app/templates/new/templates_glossary.md @@ -11,6 +11,7 @@ This document serves as a glossary for the templates directory structure of the - `withnav_template.html`: A variation of the base layout that includes a sidebar. - `org_template.html`: A variaton of the withnav_template - **/components**: Houses reusable UI components that can be included in multiple templates and can be tailored with different content or links depending on the context.(more frequently revised or customized) + - `head.html`: Template for the site's , included in `base.html`. - `header.html`: Template for the site's header, included in `base.html`. - `footer.html`: Template for the site's footer, included in `base.html`. - **/views** (or **/pages**): Individual page templates that use the base layouts, components, and partials to present content.