You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2017/06/28 11:48:34 UTC
[1/2] sling-site git commit: Remove extraneous title
Repository: sling-site
Updated Branches:
refs/heads/master fefc359f3 -> 10df89aad
Remove extraneous title
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/da53f422
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/da53f422
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/da53f422
Branch: refs/heads/master
Commit: da53f422c73baf1fc9d8b4047153dfedcfa04c97
Parents: fefc359
Author: Bertrand Delacretaz <bd...@apache.org>
Authored: Wed Jun 28 13:46:55 2017 +0200
Committer: Bertrand Delacretaz <bd...@apache.org>
Committed: Wed Jun 28 13:46:55 2017 +0200
----------------------------------------------------------------------
src/main/jbake/templates/sitemap.tpl | 4 ----
1 file changed, 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/sling-site/blob/da53f422/src/main/jbake/templates/sitemap.tpl
----------------------------------------------------------------------
diff --git a/src/main/jbake/templates/sitemap.tpl b/src/main/jbake/templates/sitemap.tpl
index 40d81c3..656f44e 100644
--- a/src/main/jbake/templates/sitemap.tpl
+++ b/src/main/jbake/templates/sitemap.tpl
@@ -4,10 +4,6 @@ layout 'layout/main.tpl', true,
div(class:"sitemap"){
section(class:"wrap"){
- header{
- h1("${content.title}")
- }
-
ul {
published_content.each {content ->
li {
[2/2] sling-site git commit: Fix test script
Posted by bd...@apache.org.
Fix test script
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/10df89aa
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/10df89aa
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/10df89aa
Branch: refs/heads/master
Commit: 10df89aadc4d12e62802116eac55aeaa3a754aef
Parents: da53f42
Author: Bertrand Delacretaz <bd...@apache.org>
Authored: Wed Jun 28 13:47:06 2017 +0200
Committer: Bertrand Delacretaz <bd...@apache.org>
Committed: Wed Jun 28 13:47:06 2017 +0200
----------------------------------------------------------------------
ARCHIVE/conversion-scripts/open-all-pages.sh | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/sling-site/blob/10df89aa/ARCHIVE/conversion-scripts/open-all-pages.sh
----------------------------------------------------------------------
diff --git a/ARCHIVE/conversion-scripts/open-all-pages.sh b/ARCHIVE/conversion-scripts/open-all-pages.sh
index d042b23..6b61c0a 100755
--- a/ARCHIVE/conversion-scripts/open-all-pages.sh
+++ b/ARCHIVE/conversion-scripts/open-all-pages.sh
@@ -1,6 +1,8 @@
+export SRC="src/main/jbake/content"
+export PAT=".*jbake.*content"
export BASE="http://localhost:8820"
-find content -type f | sort | sed 's/\.md$/\.html/' | sed 's/^content//' | while read f
+find $SRC -type f | sort | sed 's/\.md$/\.html/' | sed "s/${PAT}//" | while read f
do
- open $BASE$f
-done
\ No newline at end of file
+ open $BASE$f
+done