Closed tbouvet closed 9 years ago
After each build, a new json file is generated to show compatibility with different applications servers (tomcat, websphere liberty, ...) The goal is to display the result in the web site. Json example:
{"Name":"applicationServer","Servers":[{"Name":"tomcat","Result":"SUCCESS"}]}
Hugo shortcodes example:
<ul> {{ $url := .Get 0 }} {{ range $index,$element := getJSON $url }} {{ if eq $index "Servers" }} {{ range $element }} <li>{{ upper .Name }} : <strong>{{ .Result }}</strong></li> {{ end }} {{ end }} {{ end }} </ul>
After each build, a new json file is generated to show compatibility with different applications servers (tomcat, websphere liberty, ...) The goal is to display the result in the web site. Json example:
Hugo shortcodes example: