-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.hbs
21 lines (19 loc) · 879 Bytes
/
post.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="postContentStyle">
<img src={{model.img}} alt={{model.title}} draggable="false">
<h3>
{{model.title}}
</h3>
{{markdown-to-html model.text}}
{{!-- TODO manually create jquery to loop through all the h1-h10 tags for index list --}}
{{!-- TODO create a side components - markdown-nav or something like that to render all the markdown index link to the id. when user click on the link, it can reposition to the article location.--}}
{{!-- {{#paper-card as |card|}}
{{#card.title as |title|}}
{{#title.text as |text|}}
{{#text.headline}}{{model.title}}{{/text.headline}}
{{#text.subhead}}{{model.subhead}}{{/text.subhead}}
{{/title.text}}
{{title.media size="lg" src=model.img alt=model.title title=model.title}}
{{/card.title}}
{{#card.content}}{{model.text}}{{/card.content}}
{{/paper-card}} --}}
</div>