Skip to content

Commit d17d799

Browse files
committed
Changed email signup section with new link
1 parent f969acf commit d17d799

File tree

1 file changed

+31
-74
lines changed

1 file changed

+31
-74
lines changed

_layouts/post.html

Lines changed: 31 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,27 @@ <h1 class="entry_title">{{ page.title }}</h1>
1212
{% endif %}
1313

1414
<div class="entry_meta">
15-
{% if page.author %}
16-
By <span class="author">{{ page.author }}</span> &ndash;
17-
{% endif %}
18-
19-
{% if page.date %}
15+
{% if page.author %} By
16+
<span class="author">{{ page.author }}</span>
17+
&ndash; {% endif %} {% if page.date %}
2018
<time datetime="{{ page.date | date: '%b %d, %Y' }}">
2119
{{ page.date | date: '%b %d, %Y' }}
2220
</time>
2321
{% endif %}
2422
</div>
2523

26-
{{ content }}
27-
28-
{% comment %}
29-
{% if page.tags %}
30-
<div class="tags cf">
31-
<h4 class="tags_head">Tags:</h4>
32-
<ul class="tag-list">
33-
{% for tag in page.tags %}
34-
<li class="tag">
35-
<a class="tag_link">{{ tag }}</a>
36-
</li>
37-
{% endfor %}
38-
</ul>
39-
</div>
40-
{% endif %}
41-
{% endcomment %}
24+
{{ content }} {% comment %} {% if page.tags %}
25+
<div class="tags cf">
26+
<h4 class="tags_head">Tags:</h4>
27+
<ul class="tag-list">
28+
{% for tag in page.tags %}
29+
<li class="tag">
30+
<a class="tag_link">{{ tag }}</a>
31+
</li>
32+
{% endfor %}
33+
</ul>
34+
</div>
35+
{% endif %} {% endcomment %}
4236
</div>
4337
</article>
4438

@@ -47,7 +41,7 @@ <h4 class="tags_head">Tags:</h4>
4741
<h2 class="sidebar_head">More articles</h2>
4842

4943
<ul class="sidebar_list nav-list">
50-
{% for post in site.posts limit:5 %}
44+
{% for post in site.posts limit:5 %}
5145
<li class="sidebar_list_item">
5246
<h3 class="sidebar_list_item_head">
5347
<a href="../../{{ post.url | remove_first:'/'}}">
@@ -56,70 +50,33 @@ <h3 class="sidebar_list_item_head">
5650
</h3>
5751

5852
<div class="sidebar_list_item_meta entry_meta">
59-
{% if post.author %}
60-
By <span class="author">{{ post.author }}</span> &ndash;
61-
{% endif %}
62-
63-
{% if post.date %}
53+
{% if post.author %} By
54+
<span class="author">{{ post.author }}</span>
55+
&ndash; {% endif %} {% if post.date %}
6456
<time datetime="{{ post.date | date: '%b %d, %Y' }}">
6557
{{ post.date | date: '%b %d, %Y' }}
6658
</time>
6759
{% endif %}
6860
</div>
6961
</li>
70-
{% endfor %}
62+
{% endfor %}
7163
</ul>
7264

73-
<a class="call-to-action"
74-
href="../">
75-
View full archive
76-
</a>
65+
<a class="call-to-action" href="../">View full archive</a>
7766

78-
<form class="recruit-form recruit-form__sidebar">
79-
<h2 class="sidebar_head">Work with us</h2>
67+
<section class="sidebar">
68+
<h2 class="sidebar_head">Want to make a difference?</h2>
8069
<p>
81-
Sign up to receive info on future job opportunities
70+
Join the CFPB and help us build a better financial future.
71+
Get in touch and we'll give you a heads up about relevant
72+
opportunities as they become available.
8273
</p>
83-
<div class="recruit_chunk recruit_chunk__name">
84-
<label class="recruit_fullname" for="recruit-name">
85-
Full name
86-
</label>
87-
<input type="text" id="recruit-name" class="js-recruit-name" name="fullname">
88-
</div>
89-
<div class="recruit_chunk recruit_chunk__email">
90-
<label class="recruit_email" for="email">
91-
Email
92-
</label>
93-
<input type="email" id="email" class="js-recruit-email" name="email">
94-
</div>
95-
96-
<div class="recruit_chunk recruit_chunk__discipline">
97-
<label class="recruit_discipline" for="discipline">
98-
Which of these best matches your skillset?
99-
</label>
100-
<select id="discipline" name="discipline" class="js-recruit-discipline">
101-
<option value="">Choose one</option>
102-
<option>Graphic Design</option>
103-
<option>Interaction Design</option>
104-
<option>User Experience</option>
105-
<option>Content Strategy</option>
106-
<option>Front-End Development</option>
107-
<option>Back-End Development</option>
108-
<option>Cyber-security</option>
109-
<option>Data Analysis</option>
110-
<option>Dev Ops</option>
111-
</select>
112-
</div>
113-
114-
<a class="btn btn-primary recruit_submit js-recruit-submit"
115-
href="mailto:[email protected]?subject=Interested in working in tech at CFPB&body=First name:%0D%0ALast name:%0D%0ADiscipline: %0D%0AResume:">
116-
Email us
74+
<a
75+
href="https://public.govdelivery.com/accounts/USCFPB/subscriber/new?topic_id=USCFPB_142"
76+
class="btn btn-primary">
77+
Work with us
11778
</a>
118-
119-
<p class="u-disclaimer">
120-
<small><a href="../../privacy-act-statement/">View Privacy Act statement</a></small>
121-
</p>
122-
</form>
79+
</section>
12380
</div>
12481
</section>
12582
</div>

0 commit comments

Comments
 (0)