Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 34 lines (27 sloc) 1.058 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<?php get_header(); ?>

<div id="content">
<div id="wellcome">
<p>欢迎来到ARCHLINUX.CN</p>
</div>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="postentry">
<?php the_content(__('Continue reading'). " &#8216;" . the_title('', '', false) . "&#8217; &raquo;"); ?>
</div>
</div>
<?php endwhile; ?>

<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;')) ?></div>
</div>
<?php else : ?>
<div class="post">
<h2 class="posttitle"><?php _e('Not Found') ?></h2>
<div class="postentry"><p><?php _e('Sorry, no posts matched your criteria.'); ?></p></div>
</div>

<?php endif; ?>

</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Something went wrong with that request. Please try again.