Initial Commit

This commit is contained in:
2018-09-13 21:15:47 +02:00
commit 09f406cba7
84 changed files with 6920 additions and 0 deletions
@@ -0,0 +1,11 @@
<content-list>
<content-list-item for(story in input.stories)
icon=story.category.charAt(0)
link=("/story/" + story.id)
name=story.name
createdDate=story.createdDate
fictionalDate=story.fictionalDate
updatedDate=story.updatedDate
tags=story.tags
author=story.author />
</content-list>
@@ -0,0 +1,11 @@
<menu user=input.user>
<menu-header>Story</menu-header>
<menu-link selected=input.selected.index icon="S" href="/story/">Stories</menu-link>
<menu-gap />
<menu-header>Categories</menu-header>
<menu-link for(category in (input.categories||[])) selected=(input.selected.category == category.name) href=`/story/by-category/${category.name}` icon=category.name.charAt(0)>${category.name}</menu-link>
<menu-gap />
<menu-header>Tags</menu-header>
<menu-link for(tag in (input.menuTags||[])) selected=(input.selected.tag === `${tag.kind}:${tag.name}`) href=`/story/by-tag/${tag.kind}/${tag.name}` textClass=`color-tag-${tag.kind.toLowerCase()}` icon=tag.kind.charAt(0)>${tag.name}</menu-link>
<menu-link selected=input.selected.tags icon="T" href="/story/tag-list/">Tags</menu-link>
</menu>