Skip to content

Commit

Permalink
option to enable/disable faculty perspectives
Browse files Browse the repository at this point in the history
  • Loading branch information
tsm15002 committed Sep 13, 2016
1 parent 8bf4429 commit e7a4e03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/page-campus.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<li><a href="#living-learning" class="campusHeader__link">Living &amp; Learning</a></li>
<li><a href="#student-stories" class="campusHeader__link">Student Stories</a></li>
<li><a href="#labs" class="campusHeader__link">Labs</a></li>
<li><a href="#faculty-perspectives" class="campusHeader__link">Faculty Perspectives</a></li>
{% if post.get_field('wpcf-faculty-perspectives') == 1 %}<li><a href="#faculty-perspectives" class="campusHeader__link">Faculty Perspectives</a></li>{% endif %}
<li><a href="#contact-us" class="campusHeader__link">Contact Us</a></li>
</ul>
</nav>
Expand Down Expand Up @@ -74,6 +74,7 @@
</article>
<a href="#top" class="campusTop">Back To Top</a>
</section>
{% if post.get_field('wpcf-faculty-perspectives') == 1 %}
<section class="campusSection" id="faculty-perspectives">
<h1>Faculty Perspectives</h1>
<article class="campusSectionFull">
Expand All @@ -84,6 +85,7 @@
</article>
<a href="#top" class="campusTop">Back To Top</a>
</section>
{% endif %}
<section class="campusSection" id="contact-us">
<h1>Contact {{post.title}} DMD</h1>
<img src="{{post.get_field('wpcf-contact-image')}}" alt="Contact" class="contactImg">
Expand Down

0 comments on commit e7a4e03

Please sign in to comment.