In the last example we build up the site pretty much from scratch, using a very stripped-back Minima theme. There are lots of other jekyll-based themes and templates that can make the process of building your site a lot quicker. In fact, often it is more a case of stripping out what you don’t need from these templates. Knowledge of the Jekyll structure covered in section three above is useful in this process, knowing where to change the relevant content.
In this section we will work through a few examples of this and create a few Github Pages sites in the process.
Forking and Templates are sort of similar for the purposes we are using them here i.e. they both enable us to make a copy of an existing theme to use as a jumping off point for a website. However it should be noted that they are different concepts:
Creating a repository from a template
Use this template
Create a new repository
In both cases you are free to experiment with the repository you have copied, without affecting the original project.
We will take a few of these in turn and look at how to customise them, mainly using _config.yml
and looking around at some of the other folders like _data
and _posts
.
With all of these we begin by switching on the Github Pages setting as in section 4.
default
> values
, change some settings to false to make posts less bulkyIf you want to look for more of these kinds of templates to find one you like, there is a handy topic list on github of over 200 repositories categorised as ‘academic websites’.
When you’ve finished practicing or if you run into any problems you can delete repositories you don’t want to keep by going to:
Github will ask you are you sure you want to do this but this is only a problem if it is a site you are intending to do further work on. And you can always re-fork or re-use a template you tried out already if you want to go back to it