This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 858
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert spaces to tabs, fix indention, remove trailing whitespace, en…
…sure newline at EOF.
- Loading branch information
Florian Kissling
committed
Jul 22, 2014
1 parent
c630a78
commit 6457ba0
Showing
16 changed files
with
567 additions
and
586 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,70 @@ | ||
<!doctype html> | ||
<html class="no-js" <?php language_attributes(); ?> > | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title><?php if ( is_category() ) { | ||
echo 'Category Archive for "'; single_cat_title(); echo '" | '; bloginfo( 'name' ); | ||
} elseif ( is_tag() ) { | ||
echo 'Tag Archive for "'; single_tag_title(); echo '" | '; bloginfo( 'name' ); | ||
} elseif ( is_archive() ) { | ||
wp_title(''); echo ' Archive | '; bloginfo( 'name' ); | ||
} elseif ( is_search() ) { | ||
echo 'Search for "'.esc_html($s).'" | '; bloginfo( 'name' ); | ||
} elseif ( is_home() || is_front_page() ) { | ||
bloginfo( 'name' ); echo ' | '; bloginfo( 'description' ); | ||
} elseif ( is_404() ) { | ||
echo 'Error 404 Not Found | '; bloginfo( 'name' ); | ||
} elseif ( is_single() ) { | ||
wp_title(''); | ||
} else { | ||
echo wp_title( ' | ', 'false', 'right' ); bloginfo( 'name' ); | ||
} ?></title> | ||
|
||
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css" /> | ||
|
||
<link rel="icon" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/favicon.ico" type="image/x-icon"> | ||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-144x144-precomposed.png"> | ||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-114x114-precomposed.png"> | ||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-72x72-precomposed.png"> | ||
<link rel="apple-touch-icon-precomposed" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-precomposed.png"> | ||
|
||
<?php wp_head(); ?> | ||
</head> | ||
<body <?php body_class(); ?>> | ||
<?php do_action('foundationPress_after_body'); ?> | ||
|
||
<div class="off-canvas-wrap" data-offcanvas> | ||
<div class="inner-wrap"> | ||
|
||
<?php do_action('foundationPress_layout_start'); ?> | ||
|
||
<nav class="tab-bar show-for-small-only"> | ||
<section class="left-small"> | ||
<a class="left-off-canvas-toggle menu-icon" ><span></span></a> | ||
</section> | ||
<section class="middle tab-bar-section"> | ||
|
||
<h1 class="title"><?php bloginfo( 'name' ); ?></h1> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title><?php if ( is_category() ) { | ||
echo 'Category Archive for "'; single_cat_title(); echo '" | '; bloginfo( 'name' ); | ||
} elseif ( is_tag() ) { | ||
echo 'Tag Archive for "'; single_tag_title(); echo '" | '; bloginfo( 'name' ); | ||
} elseif ( is_archive() ) { | ||
wp_title(''); echo ' Archive | '; bloginfo( 'name' ); | ||
} elseif ( is_search() ) { | ||
echo 'Search for "'.esc_html($s).'" | '; bloginfo( 'name' ); | ||
} elseif ( is_home() || is_front_page() ) { | ||
bloginfo( 'name' ); echo ' | '; bloginfo( 'description' ); | ||
} elseif ( is_404() ) { | ||
echo 'Error 404 Not Found | '; bloginfo( 'name' ); | ||
} elseif ( is_single() ) { | ||
wp_title(''); | ||
} else { | ||
echo wp_title( ' | ', 'false', 'right' ); bloginfo( 'name' ); | ||
} ?></title> | ||
|
||
</section> | ||
</nav> | ||
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css" /> | ||
|
||
<aside class="left-off-canvas-menu"> | ||
<?php foundationPress_mobile_off_canvas(); ?> | ||
</aside> | ||
|
||
<div class="top-bar-container contain-to-grid show-for-medium-up"> | ||
<nav class="top-bar" data-topbar=""> | ||
<ul class="title-area"> | ||
<li class="name"> | ||
<h1><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h1> | ||
</li> | ||
</ul> | ||
<section class="top-bar-section"> | ||
<?php foundationPress_top_bar_l(); ?> | ||
<?php foundationPress_top_bar_r(); ?> | ||
</section> | ||
</nav> | ||
</div> | ||
<link rel="icon" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/favicon.ico" type="image/x-icon"> | ||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-144x144-precomposed.png"> | ||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-114x114-precomposed.png"> | ||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-72x72-precomposed.png"> | ||
<link rel="apple-touch-icon-precomposed" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-precomposed.png"> | ||
|
||
<?php wp_head(); ?> | ||
</head> | ||
<body <?php body_class(); ?>> | ||
<?php do_action('foundationPress_after_body'); ?> | ||
|
||
<div class="off-canvas-wrap" data-offcanvas> | ||
<div class="inner-wrap"> | ||
|
||
<section class="container" role="document"> | ||
<?php do_action('foundationPress_after_header'); ?> | ||
<?php do_action('foundationPress_layout_start'); ?> | ||
|
||
<nav class="tab-bar show-for-small-only"> | ||
<section class="left-small"> | ||
<a class="left-off-canvas-toggle menu-icon" ><span></span></a> | ||
</section> | ||
<section class="middle tab-bar-section"> | ||
<h1 class="title"><?php bloginfo( 'name' ); ?></h1> | ||
</section> | ||
</nav> | ||
|
||
<aside class="left-off-canvas-menu"> | ||
<?php foundationPress_mobile_off_canvas(); ?> | ||
</aside> | ||
|
||
<div class="top-bar-container contain-to-grid show-for-medium-up"> | ||
<nav class="top-bar" data-topbar=""> | ||
<ul class="title-area"> | ||
<li class="name"> | ||
<h1><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h1> | ||
</li> | ||
</ul> | ||
<section class="top-bar-section"> | ||
<?php foundationPress_top_bar_l(); ?> | ||
<?php foundationPress_top_bar_r(); ?> | ||
</section> | ||
</nav> | ||
</div> | ||
|
||
<section class="container" role="document"> | ||
<?php do_action('foundationPress_after_header'); ?> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
<?php get_header(); ?> | ||
<div class="row"> | ||
<div class="small-12 large-8 columns" role="main"> | ||
|
||
<?php if ( have_posts() ) : ?> | ||
|
||
<?php do_action('foundationPress_before_content'); ?> | ||
|
||
<?php while ( have_posts() ) : the_post(); ?> | ||
<?php get_template_part( 'content', get_post_format() ); ?> | ||
<?php endwhile; ?> | ||
|
||
<?php else : ?> | ||
<?php get_template_part( 'content', 'none' ); ?> | ||
|
||
<?php do_action('foundationPress_before_pagination'); ?> | ||
|
||
<?php endif;?> | ||
|
||
|
||
|
||
<?php if ( function_exists('FoundationPress_pagination') ) { FoundationPress_pagination(); } else if ( is_paged() ) { ?> | ||
<nav id="post-nav"> | ||
<div class="post-previous"><?php next_posts_link( __( '← Older posts', 'FoundationPress' ) ); ?></div> | ||
<div class="post-next"><?php previous_posts_link( __( 'Newer posts →', 'FoundationPress' ) ); ?></div> | ||
</nav> | ||
<?php } ?> | ||
|
||
<?php do_action('foundationPress_after_content'); ?> | ||
|
||
</div> | ||
<?php get_sidebar(); ?> | ||
</div> | ||
<?php get_footer(); ?> | ||
</div> | ||
<?php get_footer(); ?> |
Oops, something went wrong.