I've followed this tutorial and the following ones to create a Github Pages website with Jekyll. Now I have the minima
theme, but it seems to be a different version from the official repo, as the parameters in the repo's _config.yml
don't work on mine (e.g. for the Twitter link I have a twitter_username
parameter while the repo's twitter
under social_links
doesn't work).
What is weird is that in the footer I have the title
parameter repeated twice, as it renders in both the footer-heading
and p-name
elements in the index.html
. Is there any way to change what is rendered to those elements in the html?
When github advise you to copy master files to override minima gem's files "hidden files deep inside somewhere on you file system" by copying master files, they commit a mistake because breaking changes can append.
The best way to override files on a jekyll theme (for now) is to copy gem's file to your working folder.
cd /you/working/jekyll
cp -R `echo "$(bundle info minima --path)/_*/"` .
cp -R `echo "$(bundle info minima --path)/assets/"` .
You then have everything needed to override minima in your working folder (_includes, _layouts, _sass and assets folders).
If you have a github page, you just have to commit and push to you publication branch.
The footer uses site.author
. So if you add author: <your name>
to your _config.yml
, you will see <your name>
in the footer.
If you are really minimal and just editing .md files without adding theme files (i.e. relying on the default Jekyll theme GitHub Pages adds), add this to your .md file and it will remove the footer.
<style>
.footer {
display: none;
}
</style>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With