Made /api page

This commit is contained in:
2017-07-01 14:03:10 +02:00
parent 715686ddee
commit 6e41c08e60
5 changed files with 41 additions and 26 deletions

14
pages/apiview/api.pixy Normal file
View File

@ -0,0 +1,14 @@
component API(types []string)
h2.page-title API
h3 Types
table
//- thead
//- tr
//- th Table
tbody
each typeName in types
tr
td= typeName
td
a(href="/api/" + strings.ToLower(typeName) + "/")= "/api/" + strings.ToLower(typeName) + "/"