Skip to content

Commit

Permalink
Add news and access pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ixkaito committed Aug 23, 2017
1 parent e1ab30e commit 181d411
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 2 deletions.
4 changes: 4 additions & 0 deletions assets/_sass/dojoconjapan2017/project/_access.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.page-access {
background: #fff;
color: $flamingo;
}
4 changes: 4 additions & 0 deletions assets/_sass/dojoconjapan2017/project/_news.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.page-news {

color: #fff;
}
2 changes: 2 additions & 0 deletions assets/_sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@
@import "dojoconjapan2017/layout/page";
@import "dojoconjapan2017/layout/entry-content";
@import "dojoconjapan2017/project/about";
@import "dojoconjapan2017/project/news";
@import "dojoconjapan2017/project/access";
2 changes: 1 addition & 1 deletion assets/css/main.css

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion front-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@
</div>
<?php endif; ?>

<?php get_template_part( 'templates/front-page-content/about' ); ?>
<?php if ( is_page( 'about' ) ) : ?>

<?php get_template_part( 'templates/front-page-content/about' ); ?>

<?php elseif ( is_page( 'news' ) ) : ?>

<?php get_template_part( 'templates/front-page-content/news' ); ?>

<?php endif; ?>

</section>

Expand Down
Empty file.

0 comments on commit 181d411

Please sign in to comment.