Source code for my website.
Ruby HTML CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
helpers
lib
source Update _photoblog.html.erb Feb 20, 2017
.editorconfig Lint Sass and JS Mar 13, 2015
.env.example
.gitignore
.jshintignore Add Modernizr for flexbox fallbacks Mar 14, 2015
.jshintrc
.ruby-version Update ruby Sep 28, 2016
.scss-lint.yml Tweak scss lint Mar 14, 2015
Gemfile
Gemfile.lock Update gems Dec 7, 2016
Gulpfile.js
README.md
Rakefile
config.rb Don’t inline SVGs Dec 14, 2016
package.json

README.md

About

This is a static Middleman-based website I’m using as my personal site at gesteves.com. An import script pulls data from several social networks and services I use and puts it in the data/ and source/images folders to populate the site. A cron job running on Heroku periodically re-generates the site using Middleman to keep it up to date, and syncs it to an Amazon S3 bucket, where it gets served from Amazon CloudFront for extra speediness.

Useful tasks

  • $ bundle exec rake import: Runs the tasks to import external data and populate the data/ and source/images/ folders with it. It can also import individual sources, such as rake import:twitter. The available sources are twitter, instagram, photoblog, links, github, rdio, goodreads, fitbit, untappd, and wpt.
  • $ bundle exec rake publish: Runs the import tasks, builds the site, and syncs it to S3.

© 2014 Guillermo Esteves. Feel free to take a look and use this for your own projects, but please don’t straight up republish my website verbatim.