Commit f5900bce by Jun Matsushita

Preparing for openintegrity/www#12

parent d7b9ebb8
......@@ -49,7 +49,6 @@ html
.row.links
small
include includes/collaboration
hr
block footer
!= footer
include foot
......
......@@ -3,9 +3,10 @@ extends default
block main
!= content
- var capitalize = function(text){ return text.toLowerCase().replace( /\b\w/g, function (m) { return m.toUpperCase(); }) };
each list in index
= capitalize(list.replace(/\//g, ' '))
ul
each report in site[list]
- var report_name = report.datebasename ? capitalize(report.datebasename.replace(/-/g,' ')) : report.path.split('/').pop()
li: a(href=site.baseurl+"/"+report.path)= report_name
\ No newline at end of file
if index
each list in index
= capitalize(list.replace(/\//g, ' '))
ul
each report in site[list]
- var report_name = report.datebasename ? capitalize(report.datebasename.replace(/-/g,' ')) : report.path.split('/').pop()
li: a(href=site.baseurl+"/"+report.path)= report_name
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment