Skip to content

Upgrading the Minimal Mistakes theme

Pablo Melchor edited this page Dec 30, 2017 · 3 revisions

Recommended procedure:

  • Create a new local branch
  • Download the latest theme files
  • Use FileMerge or any similar file comparison tool to bring your local citation-style-language.github.io up to date

Files that require careful merging:

_config.yml

package.json
We modify the uglify npm script to include _csl.js in main.min.js

_includes
|— footer.html
|— head/custom.html
|— masthead.html

_layouts
|— single.html
|— splash.html

assets
|— css/main.scss

Gemfile

Files for which we always keep our version:

_data
|— navigation.yml

_layouts
|— home.html

README.md

Files that are included in the theme but are unnecessary in citationstyles.org (they can be safely ignored):

Check the theme's docs for the latest version of this list:

.editorconfig
.gitattributes
/.github
/docs
/test
CHANGELOG.md
minimal-mistakes-jekyll.gemspec
README.md
screenshot-layouts.png
screenshot.png