Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
dmd-wp-theme/templates/page-concentrations.twig
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
41 lines (39 sloc)
1.55 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.twig" %} | |
{% block content %} | |
<div class="u-container concentrationsContainer"> | |
<section class="concentrationTiles"> | |
{% for concentration in concentrations %} | |
<a href="{{ concentration.permalink }}" class="concentrationTile concentrationTile--{{ concentration.slug }} {% if loop.first %} active {% endif %}" style="background:url({{ concentration.thumbnail.src }}) no-repeat center/cover"> | |
<div class="concentrationTile__inner {% if loop.first %} active {% endif %}"> | |
<span class="concentrationTile__text">{{ concentration.title }}</span> | |
</div> | |
</a> | |
{% endfor %} | |
</section> | |
<section class="concentrationInfoContainer"> | |
{% for concentration in concentrations %} | |
<article class="concentrationInfo concentrationInfo--{{ concentration.slug }} {% if loop.first %} active {% endif %}"> | |
<h1>{{ concentration.title }}</h1> | |
<ul> | |
{% for topic in concentration.get_field('wpcf-topics') %} | |
<li>{{ topic }}</li> | |
{% endfor %} | |
</ul> | |
<h3>POTENTIAL CAREER PATHS</h3> | |
<ul> | |
{% for topic in concentration.get_field('wpcf-careers') %} | |
<li>{{ topic }}</li> | |
{% endfor %} | |
</ul> | |
<a href="{{ concentration.permalink }}" class="concentrationInfo__button">Learn More About {{concentration.title}}</a> | |
</article> | |
{% endfor %} | |
</section> | |
<section class="foundationCurriculum"> | |
<div class="u-container"> | |
<h1 class="foundationCurriculum__title">Foundation Curriculum</h1> | |
{{ post.content }} | |
</div> | |
</section> | |
</div> | |
{% endblock %} |