Skip to content

Commit

Permalink
starting about page
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Kelleher authored and Brian Kelleher committed Apr 4, 2016
1 parent de6754e commit f56da9b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1 deletion.
7 changes: 7 additions & 0 deletions www/wp-content/themes/ation2016/page.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
'posts_per_page' => 10,
);
$context['projects'] = Timber::get_posts( $proj_args );
} else if ( $post->post_name === 'about' ) {
$semesters = Timber::get_terms('semester');
foreach ( $semesters as $key => $semester ) {
//$members
//$semesters[$key]["posts"] =
}
$context['semesters'] = $semesters;
} else if ( is_front_page() ) {
// Grab vimeo URL and it's ID to pass to embed.
$context['vimeo_id'] = substr( parse_url( $post->vimeo_url, PHP_URL_PATH ), 1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ footer {
background-color: $grey;

.footer-links {
&:first-child {
ul {
float: left;
}
}
ul {
list-style-type: none;
margin: 0;
Expand Down
2 changes: 2 additions & 0 deletions www/wp-content/themes/ation2016/static/styles/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -5991,6 +5991,8 @@ html, body {
footer {
border-top: 1px solid #eeeeee;
background-color: #a8a8a8; }
footer .footer-links:first-child ul {
float: left; }
footer .footer-links ul {
list-style-type: none;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion www/wp-content/themes/ation2016/static/styles/site.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions www/wp-content/themes/ation2016/templates/page-about.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% extends "base.twig" %}

{% block content %}
<div class="container">
<pre>{{ dump(semesters) }}</pre>
</div>
{% endblock %}

0 comments on commit f56da9b

Please sign in to comment.