-
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
82 changed files
with
6,276 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
*.log | ||
.DS_Store | ||
.htaccess | ||
sitemap.xml | ||
sitemap.xml.gz | ||
|
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,23 @@ | ||
<?php get_header(); ?> | ||
|
||
<main class="error"><div> | ||
<section> | ||
|
||
<article id="post-404"> | ||
|
||
<h1><?php _e( 'Page not found', 'html5blank' ); ?></h1> | ||
<p>I have probably removed the page you have requested. I've recently pared down the site a bit, removing old, useless content. It's good to curate things, and filter out the crap. And the page you were looking for was crap.</p> | ||
|
||
<p>I'm not returning a `404` or `30x`, as the content has been removed on purpose. It's not an error, and I want you to know what's up.</p> | ||
<p> | ||
|
||
</article> | ||
|
||
</section> | ||
|
||
<section class="sidebar"><?php get_sidebar(); ?></section> | ||
|
||
|
||
</div></main> | ||
|
||
<?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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<script type="text/javascript"> | ||
var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', 'UA-1128873-1']); | ||
_gaq.push(['_trackPageview']); | ||
(function() { | ||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | ||
</script> |
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,17 @@ | ||
<?php get_header(); ?> | ||
|
||
<main role="main"> | ||
<section> | ||
|
||
<h1><?php _e( 'Archives', 'html5blank' ); ?></h1> | ||
|
||
<?php get_template_part('loop'); ?> | ||
|
||
<?php get_template_part('pagination'); ?> | ||
|
||
</section> | ||
</main> | ||
|
||
<?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 |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?php get_header(); ?> | ||
|
||
<main role="main"> | ||
<!-- section --> | ||
<section> | ||
|
||
<?php if (have_posts()): the_post(); ?> | ||
|
||
<h1><?php _e( 'Author Archives for ', 'html5blank' ); echo get_the_author(); ?></h1> | ||
|
||
<?php if ( get_the_author_meta('description')) : ?> | ||
|
||
<?php echo get_avatar(get_the_author_meta('user_email')); ?> | ||
|
||
<h2><?php _e( 'About ', 'html5blank' ); echo get_the_author() ; ?></h2> | ||
|
||
<?php echo wpautop( get_the_author_meta('description') ); ?> | ||
|
||
<?php endif; ?> | ||
|
||
<?php rewind_posts(); while (have_posts()) : the_post(); ?> | ||
|
||
<!-- article --> | ||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | ||
|
||
<!-- post thumbnail --> | ||
<?php if ( has_post_thumbnail()) : // Check if Thumbnail exists ?> | ||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> | ||
<?php the_post_thumbnail(array(120,120)); // Declare pixel size you need inside the array ?> | ||
</a> | ||
<?php endif; ?> | ||
<!-- /post thumbnail --> | ||
|
||
<!-- post title --> | ||
<h2> | ||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a> | ||
</h2> | ||
<!-- /Post title --> | ||
|
||
<!-- post details --> | ||
<span class="date"><?php the_time('F j, Y'); ?> <?php the_time('g:i a'); ?></span> | ||
<span class="author"><?php _e( 'Published by', 'html5blank' ); ?> <?php the_author_posts_link(); ?></span> | ||
<span class="comments"><?php comments_popup_link( __( 'Leave your thoughts', 'html5blank' ), __( '1 Comment', 'html5blank' ), __( '% Comments', 'html5blank' )); ?></span> | ||
<!-- /post details --> | ||
|
||
<?php html5wp_excerpt('html5wp_index'); // Build your custom callback length in functions.php ?> | ||
|
||
<br class="clear"> | ||
|
||
<?php edit_post_link(); ?> | ||
|
||
</article> | ||
<!-- /article --> | ||
|
||
<?php endwhile; ?> | ||
|
||
<?php else: ?> | ||
|
||
<!-- article --> | ||
<article> | ||
|
||
<h2><?php _e( 'Sorry, nothing to display.', 'html5blank' ); ?></h2> | ||
|
||
</article> | ||
<!-- /article --> | ||
|
||
<?php endif; ?> | ||
|
||
<?php get_template_part('pagination'); ?> | ||
|
||
</section> | ||
<!-- /section --> | ||
</main> | ||
|
||
<?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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php get_header(); ?> | ||
|
||
<main role="main"> | ||
<!-- section --> | ||
<section> | ||
|
||
<h1><?php _e( 'Categories for ', 'html5blank' ); single_cat_title(); ?></h1> | ||
|
||
<?php get_template_part('loop'); ?> | ||
|
||
<?php get_template_part('pagination'); ?> | ||
|
||
</section> | ||
<!-- /section --> | ||
</main> | ||
|
||
<?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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<div class="comments"> | ||
<?php if (post_password_required()) : ?> | ||
<p><?php _e( 'Post is password protected. Enter the password to view any comments.', 'html5blank' ); ?></p> | ||
</div> | ||
|
||
<?php return; endif; ?> | ||
|
||
<?php if (have_comments()) : ?> | ||
|
||
<h2><?php comments_number(); ?></h2> | ||
|
||
<ul> | ||
<?php wp_list_comments('type=comment&callback=html5blankcomments'); // Custom callback in functions.php ?> | ||
</ul> | ||
|
||
<?php elseif ( ! comments_open() && ! is_page() && post_type_supports( get_post_type(), 'comments' ) ) : ?> | ||
|
||
<p><?php _e( 'Comments are closed here.', 'html5blank' ); ?></p> | ||
|
||
<?php endif; ?> | ||
|
||
<?php comment_form(); ?> | ||
|
||
</div> |
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,190 @@ | ||
|
||
@dark: rgba(0, 0, 0, .75); | ||
@light: rgba(0, 0, 0, .1); | ||
|
||
.admin-bar { | ||
padding-bottom: 100px; | ||
} | ||
|
||
body { | ||
margin: 0; padding: 0; | ||
overflow-x: hidden; | ||
|
||
> header, > main, > footer { | ||
position: relative; | ||
width: 100%; | ||
overflow-x: hidden; | ||
|
||
> div { | ||
position: relative; | ||
width: 640px; | ||
margin: 0 auto; | ||
} | ||
} | ||
|
||
|
||
> main { | ||
font-family: "adriane", serif; | ||
|
||
> div { | ||
margin-top: 7.5em; margin-bottom: 5em; | ||
|
||
article { | ||
font-size: larger; | ||
color: rgba(0,0,0,.75); | ||
|
||
> header { | ||
h1 { | ||
text-align: center; | ||
text-transform: uppercase; | ||
margin-bottom: 2em; | ||
|
||
&:before, | ||
&:after { | ||
content: ""; | ||
position: absolute; | ||
height: 5px; | ||
border-bottom: 1px solid @light; | ||
border-top: 1px solid @light; | ||
top: 10px; | ||
width: 800px; | ||
} | ||
&:before { | ||
right: 80%; | ||
margin-right: 15px; | ||
} | ||
&:after { | ||
left: 80%; | ||
margin-left: 15px; | ||
} | ||
} | ||
} | ||
|
||
> div { | ||
|
||
p, li { | ||
font-size: 15pt; | ||
line-height: 150%; | ||
} | ||
img { | ||
max-width: 100%; | ||
} | ||
} | ||
|
||
> footer { | ||
|
||
font-size: smaller; | ||
margin-top: 4em; | ||
|
||
> a[href='#'] { | ||
font-size: 14pt; | ||
float: right; | ||
color: rgba(0,0,0,.25); | ||
margin-top: 1em; | ||
opacity: .5; | ||
} | ||
|
||
nav { | ||
clear: both; | ||
display: block; | ||
font-family: "john-doe", serif; | ||
margin: .25em auto .5em; | ||
text-align: center; | ||
color: rgba(0,0,0,.4); | ||
|
||
&.social { | ||
width: 130px; | ||
} | ||
} | ||
} | ||
} | ||
|
||
> footer { | ||
margin-top: 12em; | ||
opacity: .5; | ||
font-family: "john-doe", serif; | ||
|
||
a { | ||
display: block; | ||
&[rel=next] { | ||
float: right; | ||
} | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
> footer { | ||
position: fixed; bottom: 0; left: 0; z-index: 9; | ||
background-color: #fff; | ||
font-family: "john-doe", serif; | ||
font-size: 10pt; | ||
padding-top: .5em; margin-top: .5em; | ||
border-top: 1px solid rgba(0,0,0,.25); | ||
|
||
> div { | ||
opacity: .5; | ||
} | ||
h1 { | ||
margin: 0 0 .5em; | ||
} | ||
a { | ||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
nav { | ||
margin: .25em 0; | ||
|
||
|
||
> * { | ||
} | ||
a { | ||
margin-right: 1em; | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
||
a { | ||
color: inherit; | ||
} | ||
nav a, h1 a { | ||
text-decoration: none; | ||
} | ||
|
||
blockquote { | ||
position: relative; | ||
font-size: 18pt; | ||
font-style: italic; | ||
|
||
&:before { | ||
font-size: 20pt; | ||
position: absolute; left: -1em; top: -.20em; | ||
content: '>'; | ||
font-weight: bold; | ||
color: #8390f4; | ||
} | ||
|
||
a { | ||
font-family: "john-doe", serif; | ||
font-size: 15pt; | ||
font-style: normal; | ||
display: block; | ||
float: right; | ||
color: rgba(0,0,0,.35); | ||
text-decoration: none; | ||
clear: both; | ||
margin-top: .5em; | ||
|
||
&:before { | ||
content: "\2014 "; | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.