Permalink
Browse files

changing deploy method

  • Loading branch information...
1 parent 81ca3d8 commit 35bc64d3ca09017434c7938ab91a10b8412cbca9 Alexandre Magno Teles Zimerer committed Sep 4, 2011
Showing with 2 additions and 3 deletions.
  1. +1 −1 config/deploy.rb
  2. +1 −2 index.php
View
@@ -5,7 +5,7 @@
set :branch, "master"
set :user, "alexmagno"
set :keep_releases, 2
-set :deploy_via, :copy
+set :deploy_via, :remote_cache
set :use_sudo, false
set :host, "alexandremagno.net"
set :deploy_to, "#{application}/deploy"
View
@@ -6,7 +6,7 @@
<!-- single post in primary news -->
<div class="post-list primary">
<ul>
- <?php $main_posts = new WP_Query( 'posts_per_page=2' ); ?>
+ <?php $main_posts = new WP_Query( 'posts_per_page=10' ); ?>
<?php while ( $main_posts->have_posts() ) : $main_posts->the_post(); ?>
<li class="post-item">
<h2><a href="<?php the_permalink(); ?>" title="title"><?php the_title(); ?></a></h2>
@@ -43,7 +43,6 @@
</ul>
</div>
<!-- end of single post in primary news -->
- <?php load_template(TEMPLATEPATH . '/category-listing.php'); ?>
</div>
<!-- sidebar -->
<?php get_sidebar(); ?>

0 comments on commit 35bc64d

Please sign in to comment.