henrylawson.net
A simple blog powered by Jekyll.
Getting Started
- Install rbenv
- Make sure correct Ruby version has been loaded (check .ruby-version), otherwise
rbenv install
gem install bundler
bundle install
git-crypt unlock
pip install -r requirements.txt
npm install -g firebase-tools
npm install -g broken-link-checker
firebase login
brew bundle
rake Rakefile --describe
Updating Fonts
find . -iname "*.ttf" -exec woff2_compress "{}" \;
find . -iname "*.ttf" -exec sfnt2woff-zopfli "{}" \;
find . -iname "*.ttf" -exec bash -c 'ttf2eot < {} > {}.eot' \;
Updating Images
find . -name "*.png" -exec optipng -o7 -zm1-9 {} \;
mogrify -format gif *.png
mogrify -background white -alpha remove -resize '1400x1400' -format gif *.png
Manual Review
Testing Review
- Google Structured Data Testing Tool
- Google Mobile Friendly Testing Tool
- Google Page Speed Tool
- Hubpsot Website Grader
- Pingdom
- Facebook Sharing Debugger
- Twitter Card Validator
- Google+ Snippets
- Security Headers
- Web Page Test
- lighthouse
Testing
- Design and Layout
- Chrome
- Safari
- Firefox
- Internet Explorer
- Android
- iPad
- iPhone
- Various Resolutions
- Google Structured Data
- Organization
- BreadcrumbList
- WebSite
- Person
- BlogPosting
- Social Sharing
- Google+
Writing Process
- Pick a topic
- Create a draft
rake 'd[date,title]'
- Create the article
- Plan
- Research
- Rethink
- Find a lede
- Write fast (write don't edit)
- Let it incubate
- Revise and copy edit
- Move the article to be live
mv ./website/_drafts/*.markdown ./website/_posts/
- Review the article deployed
rake s
- Run the spelling check
rake sp
- Run the static analysis
rake ws[full-article-name]
- Check for dead links
rake lc
- Review the article AGAIN deployed
rake s
- Push the changes to remote
- Deploy it
rake dp