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

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit 6ea18ee8e38f33a50f6b654d3068bd1edf00a0b9
Author: Oliver Lietz <[email protected]>
AuthorDate: Tue Sep 17 16:26:20 2019 +0200

    add section for bnd plugins
---
 src/main/jbake/templates/downloads.tpl | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/src/main/jbake/templates/downloads.tpl 
b/src/main/jbake/templates/downloads.tpl
index dd6cf32..aa809ed 100644
--- a/src/main/jbake/templates/downloads.tpl
+++ b/src/main/jbake/templates/downloads.tpl
@@ -442,6 +442,32 @@ layout 'layout/main.tpl', true,
                                                        }
                                                }
 
+                                               h2("bnd Plugins")
+                                               table(class:"table") {
+                                                       tableHead("Artifact", 
"Version", "GitHub", "Binary", "Source")
+                                                       tbody() {
+                                                               bndPlugins.each 
{ line ->
+                                                                       tr() {
+                                                                               
def data = line.split("\\|")
+                                                                               
td(data[0])
+                                                                               
td(data[2])
+                                                                               
def artifact = data[1]
+                                                                               
def version = data[2]
+                                                                               
def ghflag = data[3]
+                                                                               
td(){
+                                                                               
        githubLink(artifact, ghflag)
+                                                                               
}
+                                                                               
td(){
+                                                                               
        downloadLink("bnd Plugin", artifact, version, ".jar")
+                                                                               
}
+                                                                               
td(){
+                                                                               
        downloadLink("Source ZIP", artifact, version, "-source-release.zip")
+                                                                               
}
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+
                                                h2("Deprecated")
                                                table(class:"table") {
                                                        tableHead("Artifact", 
"Replacement", "Version", "Binary", "Source")

Reply via email to