/henrylawson.net

henrylawson.net powered by Jekyll

Primary LanguageHTML

henrylawson.net

A simple blog powered by Jekyll.

Getting Started

  1. Install rbenv
  2. Make sure correct Ruby version has been loaded (check .ruby-version), otherwise rbenv install
  3. gem install bundler
  4. bundle install
  5. git-crypt unlock
  6. pip install -r requirements.txt
  7. npm install -g firebase-tools
  8. npm install -g broken-link-checker
  9. firebase login
  10. brew bundle
  11. 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

  1. Disqus
  2. Google Analytics
  3. Google Webmaster Tools (Search Console)
  4. Google Custom Search

Testing Review

  1. Google Structured Data Testing Tool
  2. Google Mobile Friendly Testing Tool
  3. Google Page Speed Tool
  4. Hubpsot Website Grader
  5. Pingdom
  6. Facebook Sharing Debugger
  7. Twitter Card Validator
  8. Google+ Snippets
  9. Security Headers
  10. Web Page Test
  11. lighthouse

Testing

  1. Design and Layout
    1. Chrome
    2. Safari
    3. Firefox
    4. Internet Explorer
    5. Android
    6. iPad
    7. iPhone
    8. Various Resolutions
  2. Google Structured Data
    1. Organization
    2. BreadcrumbList
    3. WebSite
    4. Person
    5. BlogPosting
  3. Social Sharing
    1. Facebook
    2. Twitter
    3. Google+

Writing Process

  1. Pick a topic
  2. Create a draft rake 'd[date,title]'
  3. Create the article
    1. Plan
    2. Research
    3. Rethink
    4. Find a lede
    5. Write fast (write don't edit)
    6. Let it incubate
    7. Revise and copy edit
  4. Move the article to be live mv ./website/_drafts/*.markdown ./website/_posts/
  5. Review the article deployed rake s
  6. Run the spelling check rake sp
  7. Run the static analysis rake ws[full-article-name]
  8. Check for dead links rake lc
  9. Review the article AGAIN deployed rake s
  10. Push the changes to remote
  11. Deploy it rake dp