Posts
Starting to blog again from a new computer
- Go to the GitHub repository
- Download the repository and install the GitHub tools
- Navigate to the posts directory and add a new post
- Website is hosted on Netifly, check the website if it isn’t refreshing
- Install Jekyll on the computer, then Git, then Git Credential Manager
Testing a Jekyll site
By default, the site will be only accessible from the same host as where it is running. To have it accessible from any machine on the local network:
Admin plug-in
This plugin is quite nice because it provides a CMS-type interface. However, it is not to be deployed in production, only in the development environment.
Installing a theme in Jekyll
How to install and use a theme in Jekyll (here using https://github.com/mmistakes/jekyll-theme-basically-basic)
- Add this line to your Jekyll site’s Gemfile:
gem "jekyll-theme-basically-basic"
- Add this line to your Jekyll site’s _config.yml file:
theme: jekyll-theme-basically-basic
- Then run Bundler to install the theme gem and dependencies:
bundle install
- Download the theme’s files (GitHub repository)
- Remove useless files. For this theme:
.editorconfig .gitattributes .github .scss-lint.yml CHANGELOG.md jekyll-theme-basically-basic.gemspec LICENSE Rakefile README.md screenshot.png /docs /example