diff --git a/_config.yml b/_config.yml index 43911ffcec..25ff7641a6 100644 --- a/_config.yml +++ b/_config.yml @@ -25,9 +25,14 @@ github_repo_url: http://github.com/spring-projects/spring-security # Project forum URL forum: http://forum.spring.io/forum/spring-projects/security -# Custom properties +## Custom properties guides_base_url: http://docs.spring.io/spring-security/site/docs/3.2.x/guides +# 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 main_site_url: http://spring.io diff --git a/_includes/project_sidebar.html b/_includes/project_sidebar.html index 14a24de56b..cddaca6259 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%}
{{ related_resources | markdownify }}
diff --git a/_includes/widget_templates.html b/_includes/widget_templates.html index c0253e754c..4e609c6fff 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 %} @@ -99,11 +99,11 @@ {% endhighlight %} +{% if site.custom_gradle_template %} {% capture gradle_template %} {% include build.gradle %} {% endcapture %} - -{%if gradle_template contains 'not found in _includes directory' %} +{% else %} {% capture gradle_template %} dependencies { compile '{@= groupId @}:{@= artifactId @}:{@= version @}'