Browse Source

story: Removed backtick-strings in story-menu.

1.0
Gisle Aune 6 years ago
parent
commit
1e751ed5e8
  1. 4
      marko/page/story/components/story-menu/index.marko

4
marko/page/story/components/story-menu/index.marko

@ -4,9 +4,9 @@
<menu-link dark key="_create" on-click("open", "story.add") icon="+">Add Story</menu-link> <menu-link dark key="_create" on-click("open", "story.add") icon="+">Add Story</menu-link>
<menu-gap /> <menu-gap />
<menu-header>Categories</menu-header> <menu-header>Categories</menu-header>
<menu-link for(category in (input.categories||[])) key=(category.name) selected=(input.selected.category == category.name) href=`/story/by-category/${category.name}` icon=category.name.charAt(0)>${category.name}</menu-link>
<menu-link for(category in (input.categories||[])) key=(category.name) selected=(input.selected.category == category.name) href=("/story/by-category/"+category.name) icon=category.name.charAt(0)>${category.name}</menu-link>
<menu-gap /> <menu-gap />
<menu-header>Tags</menu-header> <menu-header>Tags</menu-header>
<menu-link for(tag in (input.menuTags||[])) key=(tag.kind+":"+tag.name) 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 for(tag in (input.menuTags||[])) key=(tag.kind+":"+tag.name) 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-link selected=input.selected.tags icon="T" href="/story/tag-list/">Tags</menu-link>
</menu> </menu>
Loading…
Cancel
Save