You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@fluo.apache.org by GitBox <gi...@apache.org> on 2018/02/28 16:33:39 UTC

[GitHub] keith-turner closed pull request #136: fix link in old docs to new docs

keith-turner closed pull request #136: fix link in old docs to new docs
URL: https://github.com/apache/fluo-website/pull/136
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/_layouts/fluo-doc.html b/_layouts/fluo-doc.html
index 2c45447..249e124 100644
--- a/_layouts/fluo-doc.html
+++ b/_layouts/fluo-doc.html
@@ -3,9 +3,8 @@
 ---
 <div class="fluo-doc">
 
-  {% if page.version != site.latest_fluo_release %}
-  <div class="alert alert-danger" role="alert">These docs are for Fluo {{ page.version }} which is an old version! Check out the <a href="{{ site.baseurl }}/docs/fluo/{{ site.latest_fluo_release }}/">latest docs</a>!</div>
-  {% endif %}
+  <!-- This layout is only used by old documentation -->
+  <div class="alert alert-danger" role="alert">These docs are for Fluo {{ page.version }} which is an old version! Check out the <a href="{{ site.baseurl }}/docs/fluo/{{ site.latest_fluo_minor }}/">latest docs</a>!</div>
 
   {% if page.version == '1.0.0-beta-2' or page.version == '1.0.0-beta-1' or page.version == '1.0.0-alpha-1' %}
   <div class="alert alert-danger" role="alert">These docs are for a release of Fluo made before Apache incubation.</div>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services