Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Shutter Clicks

Netlify Status

Tale

Gem Version

Tale is a minimal Jekyll theme curated for storytellers. I'm using it for my Jekyll site.

How to run

Jekyll Stuff

Install Ruby using rbenv (make sure to rbenv global <version>), then install bundler, and Jekyll. bundle install bundle exec jekyll serve --watch --drafts

Debugging info is found at /about-technical/

Photo assets

Todo: How to install virtualenv

Once the virtualenv is installed:

  • cd scripts
  • source venv/bin/activate
  • python thumbnail_generator.py

Todo: I should make the script automatically read EXIF data and rotate things appropriately for direct-from-phone photos. For now, exporting in Lightroom fixes things.

Netlify

  • Install netlify cli
  • Install lm addon netlify plugins:install netlify-lm-plugin && netlify lm:install
  • Add ca cert: export NODE_EXTRA_CA_CERTS=/path/to/ca-bundle.crt
  • Login: netlify login
  • Status: netlify status

After that, git lfs should mostly just work with netlify.

Other notes

For setting page-specific sharing tags: https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md

For merging upstream master:

git remote add upstream git@github.com:chesterhow/tale.git
git fetch upstream
git merge upstream/master

For fixing git-lfs history:

$ git filter-branch --prune-empty --tree-filter '
git lfs track "*.jpg"
git lfs track "*.jpeg"
git lfs track "*.gif"
git lfs track "*.png"
git lfs track "*.pdf"
git add .gitattributes

git ls-files -z | xargs -0 git check-attr filter | grep "filter: lfs" | sed -E "s/(.*): filter: lfs/\1/" | tr "\n" "\0" | while read -r -d $'"'\0'"' file; do
    echo "Processing ${file}"

    git rm -f --cached "${file}"
    echo "Adding $file lfs style"
    git add "${file}"
done

' --tag-name-filter cat -- --all

License

See LICENSE

About

my blog

Resources

License

Releases

No releases published

Packages

No packages published