blog
This repo holds my blog, powered by Jekyll.
Features
- RSS Feed. What URI?
- Disqus comments. Admin = @nbrand
- Google Analytics
- SEO. What version?
- Examine Category code/functionality
- new index page / reorder?
Install Google Analytics:
- https://desiredpersona.com/google-analytics-jekyll/
- https://michaelsoolee.com/google-analytics-jekyll/
- https://curtisvermeeren.github.io/2016/11/18/Jekyll-Google-Analytics.html
- https://learn.cloudcannon.com/jekyll/google-analytics/
Where is the Jekyll defaults stored? bundle info --path minima
Building and deploying the static Jekyll website
- To run a local web server:
$ bundle exec jekyll serve
# If I want to serve with Disqus comments
$ JEKYLL_ENV=production bundle exec jekyll serve
- To build the website
$ bundle exec jekyll build
$ JEKYLL_ENV=production bundle exec jekyll build
- To push to production
# See rake/Rakefile
$ rake deploy
- To create new page. Go into _posts.
https://jekyllrb.com/docs/posts/
- If creating a draft post, put it in _drafts.
$ bundle exec jekyll build --drafts
$ bundle exec jekyll serve --drafts
Git commands
git commit -a -m "comment"
git push origin master
git pull