9 lines
208 B
Text
9 lines
208 B
Text
import output from require 'params'
|
|
|
|
link = =>
|
|
a @title, href: "/"..output..@uri
|
|
|
|
(json) => (ul [li link post.head, prefix for post in *@]), {
|
|
title "Index"
|
|
script "window.posts = JSON.parse(`#{json}`)"
|
|
}
|