octopress
https://github.com/imathis/octopress
Ruby
Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy. Sweet huh?
OctopressLiquidFilters#truncate
Improved version of Liquid's truncate: - Doesn't cut in the middle of a word. - Uses typographically correct ellipsis (…) insted of '...'
Edit
git clone [email protected]:imathis/octopress.git
cd octopress
open plugins/octopress_filters.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-OctopressLiquidFilters-truncate-for-pr
# Commit to gitgit add plugins/octopress_filters.rbgit commit -m "better docs for OctopressLiquidFilters#truncate"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-OctopressLiquidFilters-truncate-for-pr
hub pull-request
# Celebrate!