The frontend/UI server, written in JS using the MarkoJS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
563 B

import moment from "moment"
<content-list>
<content-list-item for(log in input.logs)
key=log.shortId
icon="L"
link=("/logs/" + log.id)
description=log.description
name=(log.title || (log.channelName + " - " + moment(log.date).format("MMMM D, YYYY")))
tags=[{kind: "Location", name: log.channelName}, {kind: "Event", name: log.event}]
enableAllTags=true
createdDate=log.date />
</content-list>