Skip to content

Instantly share code, notes, and snippets.

@venj
Created December 27, 2013 07:42
Show Gist options
  • Save venj/8143803 to your computer and use it in GitHub Desktop.
Save venj/8143803 to your computer and use it in GitHub Desktop.
diff --git a/Gemfile b/Gemfile
index cd8ce57..2296549 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,4 +1,4 @@
-source "https://rubygems.org"
+source "http://ruby.taobao.org"
group :development do
gem 'rake', '~> 0.9'
diff --git a/Gemfile.lock b/Gemfile.lock
index 182c30b..3272b12 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,5 +1,5 @@
GEM
- remote: https://rubygems.org/
+ remote: http://ruby.taobao.org/
specs:
RedCloth (4.2.9)
chunky_png (1.2.5)
diff --git a/Rakefile b/Rakefile
index ae0765a..8467021 100644
--- a/Rakefile
+++ b/Rakefile
@@ -9,10 +9,10 @@ ssh_port = "22"
document_root = "~/website.com/"
rsync_delete = false
rsync_args = "" # Any extra arguments to pass to rsync
-deploy_default = "rsync"
+deploy_default = "push"
# This will be configured for you when you run config_deploy
-deploy_branch = "gh-pages"
+deploy_branch = "master"
## -- Misc Configs -- ##
diff --git a/_config.yml b/_config.yml
index 74d35ba..d48d693 100644
--- a/_config.yml
+++ b/_config.yml
@@ -2,10 +2,10 @@
# Main Configs #
# ----------------------- #
-url: http://yoursite.com
-title: My Octopress Blog
-subtitle: A blogging framework for hackers.
-author: Your Name
+url: http://venj.github.io
+title: Cocoa学习
+subtitle: 我的Cocoa/Cocoa Touch学习笔记
+author: venj
simple_search: http://google.com/search
description:
@@ -27,7 +27,7 @@ email:
# If publishing to a subdirectory as in http://site.com/project set 'root: /project'
root: /
-permalink: /blog/:year/:month/:day/:title/
+permalink: /blog/:title/
source: source
destination: public
plugins: plugins
@@ -41,16 +41,16 @@ rdiscount:
- smart
pygments: false # default python pygments have been replaced by pygments.rb
-paginate: 10 # Posts per page on the blog index
+paginate: 6 # Posts per page on the blog index
pagination_dir: blog # Directory base for pagination URLs eg. /blog/page/2/
recent_posts: 5 # Posts in the sidebar Recent Posts section
-excerpt_link: "Read on →" # "Continue reading" link text at the bottom of excerpted articles
+excerpt_link: "继续阅读 →" # "Continue reading" link text at the bottom of excerpted articles
titlecase: true # Converts page and post titles to titlecase
# list each of the sidebar modules you want to include, in the order you want them to appear.
# To add custom asides, create files in /source/_includes/custom/asides/ and add them to the list like 'custom/asides/custom_aside_name.html'
-default_asides: [asides/recent_posts.html, asides/github.html, asides/delicious.html, asides/pinboard.html, asides/googleplus.html]
+default_asides: [custom/asides/repo.html, asides/recent_posts.html, asides/github.html, asides/delicious.html, asides/pinboard.html, asides/googleplus.html]
# Each layout uses the default asides, but they can have their own asides instead. Simply uncomment the lines below
# and add an array with the asides you want to use.
@@ -63,8 +63,8 @@ default_asides: [asides/recent_posts.html, asides/github.html, asides/delicious.
# ----------------------- #
# Github repositories
-github_user:
-github_repo_count: 0
+github_user: venj
+github_repo_count: 5
github_show_profile_link: true
github_skip_forks: true
@@ -90,7 +90,7 @@ delicious_user:
delicious_count: 3
# Disqus Comments
-disqus_short_name:
+disqus_short_name: venj
disqus_show_comment_count: false
# Google Analytics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment