incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject apache-website-template git commit: Correct theme for Jekyll v3.1
Date Thu, 20 Oct 2016 20:29:31 GMT
Repository: apache-website-template
Updated Branches:
  refs/heads/master caac6b3d4 -> 571c62c18


Correct theme for Jekyll v3.1

> You are currently using the Jekyll Bootstrap framework
which has a known incompatibility with Jekyll v3.1. To fix this
incompatibility, change `page.theme.name` in `_includes/JB/setup`
to `layout.theme.name`. Your site may not build properly until this
change has been applied.

For more information, see http://jekyllrb.com/docs/upgrading/2-to-3/#layout-metadata.

Closes #8
Fixes #7


Project: http://git-wip-us.apache.org/repos/asf/apache-website-template/repo
Commit: http://git-wip-us.apache.org/repos/asf/apache-website-template/commit/571c62c1
Tree: http://git-wip-us.apache.org/repos/asf/apache-website-template/tree/571c62c1
Diff: http://git-wip-us.apache.org/repos/asf/apache-website-template/diff/571c62c1

Branch: refs/heads/master
Commit: 571c62c18af983e1c22a948389d450df804aef39
Parents: caac6b3
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Wed Oct 5 15:05:24 2016 +0100
Committer: Luciano Resende <lresende@apache.org>
Committed: Thu Oct 20 13:28:17 2016 -0700

----------------------------------------------------------------------
 site/_includes/JB/setup | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/apache-website-template/blob/571c62c1/site/_includes/JB/setup
----------------------------------------------------------------------
diff --git a/site/_includes/JB/setup b/site/_includes/JB/setup
index efcd84b..03d0966 100644
--- a/site/_includes/JB/setup
+++ b/site/_includes/JB/setup
@@ -16,7 +16,7 @@
     {% if site.JB.ASSET_PATH %}
       {% assign ASSET_PATH = site.JB.ASSET_PATH %}
     {% else %}
-      {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ page.theme.name }}{% endcapture
%}
+      {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ layout.theme.name }}{% endcapture
%}
     {% endif %}  
   {% endif %}
-{% endcapture %}{% assign jbcache = nil %}
\ No newline at end of file
+{% endcapture %}{% assign jbcache = nil %}


---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message