28 lines
861 B
PHP
28 lines
861 B
PHP
<?php get_header(); ?>
|
|
<div class="container">
|
|
<div id="content">
|
|
|
|
<?php if( is_home()): ?>
|
|
<div class="introduction" style="display: none;">
|
|
<?php echo get_theme_mod( 'home_introduction_text',""); ?>
|
|
<a href="#dismiss-introduction" data-toggle-introduction class="button dismiss-button" title="Lukk">Oki doki!</a>
|
|
</div>
|
|
<h2>Siste nytt</h2>
|
|
<?php elseif( is_page() ): ?>
|
|
<h2 class="page-title"><?php the_title(); ?></h2>
|
|
<?php endif; ?>
|
|
|
|
<?php get_template_part('entries'); ?>
|
|
|
|
<div class="navigation"><p><?php posts_nav_link(); ?></p></div>
|
|
|
|
</div> <!-- #content -->
|
|
|
|
<?php if( !is_page() ) {
|
|
get_template_part( 'sidebar' );
|
|
// TODO Level 2 navigation
|
|
} ?>
|
|
|
|
</div> <!-- .container-->
|
|
<?php get_footer(); ?>
|