Skip to content

Commit b15c7c0

Browse files
committed
Removed unused code from programs.html
The removed code is a remnant of when some program pages were still displaying pages on the old website because the new pages weren't yet available. All program pages are now implemented on the new site.
1 parent ef81f7e commit b15c7c0

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

programs.html

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -40,36 +40,3 @@ <h2>{{ program.title | escape }}</h2>
4040
<div class="clearfix visible-sm-block" role="presentation"></div>
4141
{% endif %}
4242
{%endfor %}
43-
44-
<!-- TEMPORARY: Now loop through collection in _data/programs
45-
Following code will eventually be removed when each program has its own
46-
page.
47-
-->
48-
49-
{% assign supported-programs = site.data.programs %}
50-
{% for program in supported-programs %}
51-
{% assign test = forloop.index | modulo: 2 %}
52-
{% if test <> 0 %}<div class="row">{% endif %}
53-
<section role="section" aria-labelledby="{{ program.id | escape }}-head">
54-
<div class="col-sm-6">
55-
<div class="panel panel-primary">
56-
<header class="panel-heading" id="{{ program.id | escape }}-head">
57-
<h2>{{ program.title | escape }}</h2>
58-
</header>
59-
<div class="panel-body">
60-
<p>{{ program.summary | escape }}</p>
61-
{% if program.mothballed %}<p class="alert alert-warning small glyph" role="alert"><span class="sr-only">Note</span> This program is mothballed. It is being neither developed nor supported.</p>{% endif %}
62-
</div>
63-
<div class="panel-footer text-right">
64-
<a href="{{ program.more-info }}" aria-label="{{ program.title | escape }} page on {{ site.data.core.orig-site-name | escape }}">More info</a>
65-
</div>
66-
</div>
67-
</div>
68-
</section>
69-
{% if test == 0 or forloop.last %}
70-
</div> <!-- ./row -->
71-
<!-- Clear the lg cols if their content doesn't match in height -->
72-
<div class="clearfix visible-sm-block" role="presentation"></div>
73-
{% endif %}
74-
{%endfor %}
75-
<!-- END TEMPORARY section -->

0 commit comments

Comments
 (0)