diff --git a/_config.yml b/_config.yml index bc1bafca..e72a8e7c 100644 --- a/_config.yml +++ b/_config.yml @@ -25,6 +25,10 @@ github_repo_url: http://github.com/spring-projects/spring-framework # Project forum URL forum: http://forum.spring.io/forum/spring-projects/container +# If you want to include a custom pom.xml or gradle template set these value to true and add _include files +custom_pom_template: false +custom_gradle_template: false + ### The following properties are constant for most projects diff --git a/_includes/project_sidebar.html b/_includes/project_sidebar.html index 14a24de5..cddaca62 100644 --- a/_includes/project_sidebar.html +++ b/_includes/project_sidebar.html @@ -1,11 +1,9 @@ {% include documentation.html %} -{%unless badges contains 'not found in _includes directory' %}
-{%endunless%} diff --git a/_includes/widget_templates.html b/_includes/widget_templates.html index c0253e75..4e609c6f 100644 --- a/_includes/widget_templates.html +++ b/_includes/widget_templates.html @@ -62,11 +62,11 @@ +{% if site.custom_pom_template %} {% capture maven_pom_template %} {% include pom.xml %} {% endcapture %} - -{%if maven_pom_template contains 'not found in _includes directory' %} +{% else %} {% capture maven_pom_template %}