Installation
How to start your website and use Petridish.
Create a site from scratch (recommended)
This method creates a clean repository without unnecessary files. You can then add more content and settings.
- Follow the GitHub Pages instructions to create a website on GitHub (select
Project site
andChoose a theme
). -
Go to
_config.yml
in your repository and replacetheme: ...
with:remote_theme: peterdesmet/petridish@3.0
- Check your site at
http://username.github.io/repository
(give it a minute to rebuild). - See configuration to add more elements to your site.
Create a site from the Petridish repository
This method gives you a copy of the Petridish repository and website. You can then update content and settings, and remove all the files you don’t need.
- Go to the Petridish repository and click the green button
Use this template
. Give your repository a name and description (can be changed later). - Go to your repository settings and enable GitHub Pages (
http://github.com/username/repository/settings/pages
). Use themain
branch as source. - Check your site at
http://username.github.io/repository
(give it a minute to build). - See configuration to update elements of your site.
-
Since you copied the Petridish repository, the theme is verbosely included. If you opt to make use of the
remote_theme
option described above, you can safely remove:_includes/ _layouts/ _sass/ assets/theme/ package-lock.json package.json petridish.gemspec screenshot.png
Install Petridish as gem-based theme
If you do not what to use remote_theme
, see the Jekyll documentation to install (gem-based) themes.