Releases: Drassil/git-wiki-theme
Releases · Drassil/git-wiki-theme
Wiki Modules
- Splitted default layout in reusable partial files and modular architecture
- Created configurable including hooks to extend git-wiki theme
- Fixed some deprecation
- Crated Gemfile for local installations
- removed not used configurations
- compress css
- minor fixes
How to upgrade from 1.0.5
you must upgrade your _config.xml changing following configurations:
# to add comments now you can include a file using inc_after_content configuration
# it's exactly the position where old comments.html file was placed i 1.0.5
comments : true -> inc_after_content : "path_of_comments_file.html"
# to add custom elements in <head> now you can use inc_after_head or inc_before_head to add
# your code
custom_head: true -> inc_after_head : "path_of_head_file.html"
# custom sidebar can be added directly in <header>
# via a custom file using inc_after_header
custom_sidebar: true -> inc_after_header : "path_of_sidebar_file.html"
# if you need custom footer elements you can use inc_before_footer configuration now
custom_footer: true -> inc_before_footer : "path_of_footer_file.html"
# in new jekyll versions gems has been deprecated in favour of plugins
gems -> plugins
then you've to add following new configurations:
# change default layouts if you want to totally customize your wiki
defaults:
-
scope:
path: "" # an empty string here means all files in the project
values:
layout: "git-wiki-default"
-
scope:
path: ""
type: "pages"
values:
layout: "git-wiki-default"