Improve quadrant pages

This commit is contained in:
Tom Raithel
2017-01-24 22:30:11 +01:00
parent 0252c9e112
commit cc492e5438
9 changed files with 66 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ block vars
- var title=item.attributes.title
block content
a(href='/' + quadrantName + '.html') #{quadrantName}
a(href='/' + quadrantName + '.html')= translate(quadrantName)
h1 #{item.attributes.title}
= ' '
small #{item.attributes.ring}

View File

@@ -5,8 +5,9 @@ html
block scripts
script(src='/jquery.js')
h3 AOE Tech Radar
h3
a(href='/') AOE Tech Radar
hr
body

12
templates/quadrant.pug Normal file
View File

@@ -0,0 +1,12 @@
extends layout.pug
block vars
- var title='Quadrant'
block content
h1
= translate(quadrantName)
ul
each radarItem, itemName in quadrant
li
a(href='/' + quadrantName + '/' + itemName + '.html')= radarItem.attributes.title