Skip to content

Commit

Permalink
Updated elements and classes to adhere to the hNews microformat
Browse files Browse the repository at this point in the history
  • Loading branch information
murtaugh committed Apr 12, 2011
1 parent 947500f commit 2829dfe
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
6 changes: 4 additions & 2 deletions _/inc/meta.php
@@ -1,5 +1,7 @@
<footer class="meta">
<i>Posted on:</i> <time datetie="<?php echo date(DATE_W3C); ?>"><?php the_time('F jS, Y') ?></time>
<i>by</i> <?php the_author() ?>
<i>Posted on:</i> <time datetime="<?php echo date(DATE_W3C); ?>" pubdate class="updated"><?php the_time('F jS, Y') ?></time>
<span class="byline author vcard">
<i>by</i> <span class="fn"><?php the_author() ?></span>
</span>
<?php comments_popup_link('No Comments', '1 Comment', '% Comments', 'comments-link', ''); ?>
</footer>
2 changes: 1 addition & 1 deletion footer.php
@@ -1,4 +1,4 @@
<footer id="footer">
<footer id="footer" clas="source-org vcard copyright">
<small>&copy;<?php echo date("Y"); echo " "; bloginfo('name'); ?></small>
</footer>

Expand Down
8 changes: 4 additions & 4 deletions single.php
Expand Up @@ -4,17 +4,17 @@

<article <?php post_class() ?> id="post-<?php the_ID(); ?>">

<h2><?php the_title(); ?></h2>

<?php include (TEMPLATEPATH . '/_/inc/meta.php' ); ?>
<h1 class="entry-title"><?php the_title(); ?></h1>

<div class="entry">
<div class="entry-content">

<?php the_content(); ?>

<?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>

<?php the_tags( 'Tags: ', ', ', ''); ?>

<?php include (TEMPLATEPATH . '/_/inc/meta.php' ); ?>

</div>

Expand Down
6 changes: 3 additions & 3 deletions style.css
Expand Up @@ -163,9 +163,9 @@ mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: b

.post {}

.entry {}
.entry a {}
.entry a:hover {}
.entry-content {}
.entry-content a {}
.entry-content a:hover {}

#meta {}
.postmetadata {}
Expand Down

0 comments on commit 2829dfe

Please sign in to comment.