Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The WordPress theme for my blog
CSS PHP JavaScript Other
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ajax
css
images
includes
js
less
type
.editorconfig
.gitignore
Gruntfile.js
Makefile
README.md
ballpark_resume.inc.php
ballpark_resume.tpl.php
bower.json
channel.html
comments.php
contact.tpl.php
favicon.ico
footer.php
functions.php
header.php
index.php
loop.php
package.json
projects.inc.php
projects.tpl.php
screenshot.png
style.css

README.md

Welcome

This is a repository for the theme that runs my blog, which is located at jimmysawczuk.com.

Screenshot

This theme was written from scratch with some inspiration from Lightword, Grantland, and the New York Times. My aim was to create a theme that was simple, attractive and clean. I also built it with Facebook integration in mind, and specifically, to respect the Open Graph protocol. It uses HTML5 and CSS3, with some jQuery, and is now mobile friendly.

Setting up

Assets are built using Grunt, and can be invoked using make:

git clone https://github.com/jimmysawczuk/jimmysawczuk.com.git
cd jimmysawczuk.com
make

Repository Hooks

To display the current code revision in the footer, I set up this hook for post-checkout, using scm-status:

/path/to/scm-status -out="REVISION.json";

Additionally, you may find it helpful to truncate the wp-content/cache/* directory when you update this theme (I do it in post-receive) to make sure all your assets get updated properly:

#!/bin/sh

echo "Performing post-receive hook";
git checkout -f;
rm -rf /path/to/wordpress/install/wp-content/cache/*;
echo "Done";

Acknowledgements

I used all or parts of these open-source projects in this theme:

  • TimeAgo, for relative timestamps throughout the site
  • FontAwesome for various icons throughout the site
  • Grunt for asset building

The fonts I use, Arvo and Mako, are from the Google Font API.

License

The MIT License (MIT)
Copyright (C) 2011-2015 by Jimmy Sawczuk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Something went wrong with that request. Please try again.