This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
/
crt-base.html
executable file
·89 lines (74 loc) · 3.1 KB
/
crt-base.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{% extends 'layout-full.html' %}
{# HEAD items #}
{% block title -%}
Curriculum Review Tool | Consumer Financial Protection Bureau
{%- endblock title %}
{% block desc -%}
Our vision is a consumer finance marketplace that works for American consumers, responsible providers, and the economy as a whole.
{%- endblock desc %}
{% block og_image -%}
<meta property="og:image" content="{{ meta_image_url }}">
<meta property="twitter:image" content="{{ meta_image_url }}">
{# Optional property if you want to use Twitter's large card format
https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/summary-card-with-large-image
<meta name="twitter:card" content="summary_large_image">
#}
{%- endblock og_image %}
{% block og_desc -%}
{{ self.desc() }}
{%- endblock og_desc %}
{% block css -%}
{{ super() }}
<link rel="stylesheet" href="{{ static('tdp/css/crtool.css') }}">
{%- endblock css %}
{# BODY items #}
{% block header %}
<header class="o-header u-hide-on-print" role="banner">
<div class="m-global-eyebrow m-global-eyebrow__horizontal">
<div class="wrapper wrapper__match-content">
<div class="m-global-eyebrow_tagline">
An official website of the
<span class="m-global-eyebrow_tagline-usa">United States Government</span>
</div>
</div>
</div>
<div class="o-header_content">
<div class="wrapper wrapper__match-content">
<a class="o-header_logo" href="/">
<img class="o-header_logo-img" src="/static/img/logo_237x50.png" srcset="/static/img/logo_161x34.png 161w,
/static/img/logo_161x34%402x.png 322w,
/static/img/logo_161x34%403x.png 483w,
/static/img/logo_161x34%404x.png 644w,
/static/img/logo_237x50.png 237w,
/static/img/logo_237x50%402x.png 474w" sizes="(max-width: 900px) 161px,
237px" alt="Consumer Financial Protection Bureau">
</a>
</div>
</div>
</header>
{% endblock header %}
{% block content_main scoped %}
{% endblock content_main %}
{% block footer %}
<div class="u-hide-on-print">
{% import 'organisms/footer.html' as o_footer with context %}
{{ o_footer.render() }}
</div>
{% endblock footer %}
{% block javascript scoped -%}
{# Conditional comment used to block IE8 and under from receiving JS #}
<!--[if gt IE 8]><!-->
{# Include site-wide JavaScript. #}
<script src="{{ static('tdp/js/crtool.react.v1.js') }}"></script>
<!--<![endif]-->
<script>
//<![CDATA[
var usasearch_config = { siteHandle: 'cfpb' };
var script = document.createElement( 'script' );
script.type = 'text/javascript';
script.src = 'https://search.usa.gov/javascripts/remote.loader.js';
document.getElementsByTagName( 'head' )[0].appendChild( script );
//]]>
</script>
{%- endblock javascript %}