sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject [1/2] sling-site git commit: feed.xml was empty
Date Mon, 02 Oct 2017 13:07:42 GMT
Repository: sling-site
Updated Branches:
  refs/heads/master 2c4483ade -> e63e5ba91


feed.xml was empty


Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/d43bdd80
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/d43bdd80
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/d43bdd80

Branch: refs/heads/master
Commit: d43bdd804eb9dfae695dbc51062a3da4b63c66dc
Parents: 2c4483a
Author: Bertrand Delacretaz <bdelacretaz@apache.org>
Authored: Mon Oct 2 15:02:55 2017 +0200
Committer: Bertrand Delacretaz <bdelacretaz@apache.org>
Committed: Mon Oct 2 15:02:55 2017 +0200

----------------------------------------------------------------------
 src/main/jbake/jbake.properties   | 2 +-
 src/main/jbake/templates/feed.tpl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sling-site/blob/d43bdd80/src/main/jbake/jbake.properties
----------------------------------------------------------------------
diff --git a/src/main/jbake/jbake.properties b/src/main/jbake/jbake.properties
index e08d76b..48f62c4 100644
--- a/src/main/jbake/jbake.properties
+++ b/src/main/jbake/jbake.properties
@@ -3,7 +3,7 @@ site.host=http://sling.apache.org
 site.contextPath=/
 foundation.version=5.5.1
 blog.title=Apache Sling
-blog.subtitle=Work in progress...
+blog.subtitle=REST-based Web framework based on a hierarchical content tree
 render.tags=true
 render.sitemap=true
 template.masterindex.file=index.tpl

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d43bdd80/src/main/jbake/templates/feed.tpl
----------------------------------------------------------------------
diff --git a/src/main/jbake/templates/feed.tpl b/src/main/jbake/templates/feed.tpl
index ff0a4d3..1b82284 100644
--- a/src/main/jbake/templates/feed.tpl
+++ b/src/main/jbake/templates/feed.tpl
@@ -13,7 +13,7 @@ feed(xmlns:"http://www.w3.org/2005/Atom"){
     newLine()
     id("tag:${config.feed_id},${published_date.format('yyyy:MM')}")
     newLine()
-    published_posts.each {post ->
+    all_content.sort({ p -> p.title} ).each {post ->
         entry{
           title("${post.title}")
           newLine()


Mime
View raw message