forked from milohuang/reverie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
101 changed files
with
28,934 additions
and
15,634 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Copyright (c) 2011 ZURB, http://www.zurb.com/ | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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,26 +1,29 @@ | ||
<?php get_header(); ?> | ||
|
||
<!-- Row for main content area --> | ||
<div id="content" class="eight columns"> | ||
<!-- Row for main content area --> | ||
<div class="small-12 large-8 columns" role="main"> | ||
|
||
<div class="post-box"> | ||
<h1> | ||
<?php if (is_day()) : ?> | ||
<?php printf(__('Daily Archives: %s', 'reverie'), get_the_date()); ?> | ||
<?php elseif (is_month()) : ?> | ||
<?php printf(__('Monthly Archives: %s', 'reverie'), get_the_date('F Y')); ?> | ||
<?php elseif (is_year()) : ?> | ||
<?php printf(__('Yearly Archives: %s', 'reverie'), get_the_date('Y')); ?> | ||
<?php else : ?> | ||
<?php single_cat_title(); ?> | ||
<?php endif; ?> | ||
</h1> | ||
<hr> | ||
<?php get_template_part('loop', 'category'); ?> | ||
</div> | ||
|
||
</div><!-- End Content row --> | ||
<?php if ( have_posts() ) : ?> | ||
|
||
<?php /* Start the Loop */ ?> | ||
<?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 get_sidebar(); ?> | ||
<?php endif; // end have_posts() check ?> | ||
|
||
<?php /* Display navigation to next/previous pages when applicable */ ?> | ||
<?php if ( function_exists('reverie_pagination') ) { reverie_pagination(); } else if ( is_paged() ) { ?> | ||
<nav id="post-nav"> | ||
<div class="post-previous"><?php next_posts_link( __( '← Older posts', 'reverie' ) ); ?></div> | ||
<div class="post-next"><?php previous_posts_link( __( 'Newer posts →', 'reverie' ) ); ?></div> | ||
</nav> | ||
<?php } ?> | ||
|
||
</div> | ||
<?php get_sidebar(); ?> | ||
|
||
<?php get_footer(); ?> |
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,12 +1,24 @@ | ||
<?php get_header(); ?> | ||
<?php | ||
/* | ||
Default Template For bbPress | ||
*/ | ||
get_header(); ?> | ||
|
||
<!-- Row for main content area --> | ||
<div id="content" class="twelve columns"> | ||
<!-- Row for main content area --> | ||
<div class="small-12 large-12 columns" role="main"> | ||
|
||
<div class="post-box"> | ||
<?php get_template_part('loop', 'page'); ?> | ||
<?php /* Start loop */ ?> | ||
<?php while (have_posts()) : the_post(); ?> | ||
<article <?php post_class() ?> id="post-<?php the_ID(); ?>"> | ||
<header> | ||
<h1 class="entry-title"><?php the_title(); ?></h1> | ||
</header> | ||
<div class="entry-content"> | ||
<?php the_content(); ?> | ||
</div> | ||
</article> | ||
<?php endwhile; // End the loop ?> | ||
|
||
</div><!-- End Content row --> | ||
</div> | ||
|
||
<?php get_footer(); ?> |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
require 'zurb-foundation' | ||
# Require any additional compass plugins here. | ||
|
||
|
||
# Set this to the root of your project when deployed: | ||
http_path = "/" | ||
css_dir = "css" | ||
sass_dir = "scss" | ||
images_dir = "img" | ||
javascripts_dir = "js" | ||
|
||
# You can select your preferred output style here (can be overridden via the command line): | ||
# output_style = :expanded or :nested or :compact or :compressed | ||
|
||
# To enable relative paths to assets via compass helper functions. Uncomment: | ||
# relative_assets = true | ||
|
||
# To disable debugging comments that display the original location of your selectors. Uncomment: | ||
line_comments = false | ||
|
||
|
||
# If you prefer the indented syntax, you might want to regenerate this | ||
# project again passing --syntax sass, or you can uncomment this: | ||
# preferred_syntax = :sass | ||
# and then run: | ||
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* The template for displaying a "No posts found" message. | ||
* | ||
* @subpackage Reverie | ||
* @since Reverie 4.0 | ||
*/ | ||
?> | ||
|
||
<article id="post-0" class="post no-results not-found"> | ||
<header> | ||
<h2><?php _e( 'Nothing Found', 'reverie' ); ?></h2> | ||
</header> | ||
<div class="entry-content"> | ||
<p><?php _e( 'Apologies, but no results were found. Perhaps searching will help find a related post.', 'reverie' ); ?></p> | ||
</div> | ||
<hr /> | ||
</article> |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
/** | ||
* The default template for displaying content. Used for both single and index/archive/search. | ||
* | ||
* @subpackage Reverie | ||
* @since Reverie 4.0 | ||
*/ | ||
?> | ||
|
||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | ||
<header> | ||
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> | ||
<?php reverie_entry_meta(); ?> | ||
</header> | ||
<div class="entry-content"> | ||
<?php the_content('Continue reading...'); ?> | ||
</div> | ||
<footer> | ||
<?php $tag = get_the_tags(); if (!$tag) { } else { ?><p><?php the_tags(); ?></p><?php } ?> | ||
</footer> | ||
<hr /> | ||
</article> |
Oops, something went wrong.