You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/08/27 18:05:41 UTC

[royale-docs] branch master updated: fix search loop

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 57b16b5  fix search loop
57b16b5 is described below

commit 57b16b55d10347660b97ee565024263d098de9e0
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Aug 27 20:05:32 2019 +0200

    fix search loop
---
 _layouts/docpage.html | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/_layouts/docpage.html b/_layouts/docpage.html
index 75239de..1389306 100644
--- a/_layouts/docpage.html
+++ b/_layouts/docpage.html
@@ -110,18 +110,16 @@ limitations under the License.
 
       {{content}}
 
-      
       <div class="post-list" id="search-hits">
-        {% for post in site.pages %}
-          <div class="post-item">
-            <h3>
-              <a class="post-link" href="{{ page.url | relative_url }}">{{ page.title | escape }}</a>
-            </h3>
-            <div class="post-snippet">{{ page.description | description }}</div>
-          </div>
-        {% endfor %}
-      </div>
-      
+          {% for page in site.pages %}
+            <div class="post-item">
+              <h3>
+                <a class="post-link" href="{{ page.url | relative_url }}">{{ page.title | escape }}</a>
+              </h3>
+              <div class="post-snippet">{{ page.description }}</div>
+            </div>
+          {% endfor %}
+        </div>
 
 
       <div class="bottom-links">