upgrade to last version of fastpages
following bug with pyYaml
source of inspiration
as detailed in https://github.com/fastai/fastpages/issues/634
Hamel asks to restart from a new repo. But how to keep the same blog url?
Easy way is to rename former repo (from guillaume_blog to guillaume_blog_old) and initiate new repo as former one (guillaume_blog).
Here are the steps.
Installation and setup
Installation
- Generate a copy of fastpages repo. Just have to follow instructions by clicking at https://github.com/fastai/fastpages/generate. Name repo as
guillaume_blog - Click on the PR
Initial Setupin your new repo. There are instructions to create a SSH_DEPLOY_KEY. - Merge this PR
- Clone this repo locally
- Because I use https, I have to create a token at Settings > Developer Settings > Personal Access Tokens
- and to keep this token locally, I enter
git config --global credential.helper managerbefore pushing
Copy content
- Directories:
_notebooks,_posts,_files,_images - Clean content from directories (examples) in
_notebooks,_posts,_words - Pages:
_pages/about.md,index.html,README.md - and utils:
refresh_blog_content.sh,publish.sh