Skip to content

Commit

Permalink
Merge pull request #100 from lapps/98-headings
Browse files Browse the repository at this point in the history
98 headings
  • Loading branch information
marcverhagen authored Jun 19, 2020
2 parents 8f688d5 + 9f8285b commit 67679ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/vocab-element.template
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ html {
}
table(class: 'definition-table') {
tr {
th class:'fixed', "Properties"
th class:'fixed', "Feature"
th class:'fixed', "Type"
th "Description"
}
Expand All @@ -157,18 +157,18 @@ html {
if (node.properties.size() > 0) {
// String link = "<a href='${element.name}'>${element.name}</a>"
if (headline) {
h1 'Properties'
h1 'Features'
headline = false
}
if (node.name != element.name) {
h2 {
span "Properties from "
span "Features from "
a(href:"${node.name}.html", node.name)
}
}
table(class: 'definition-table') {
tr {
th class:'fixed', "Properties"
th class:'fixed', "Feature"
th class:'fixed', "Type"
th "Description"
}
Expand Down

0 comments on commit 67679ce

Please sign in to comment.