adding document mode
I've been thinking a lot about the treehouse and I feel like it's time to say goodbye to the tree format.
This commit is contained in:
parent
550c062327
commit
36705e7c1e
31 changed files with 940 additions and 409 deletions
20
template/components/_feed.hbs
Normal file
20
template/components/_feed.hbs
Normal file
|
@ -0,0 +1,20 @@
|
|||
{{#if page.feed}}
|
||||
<section class="feed">
|
||||
<h1>{{ page.feed.title }}</h1>
|
||||
|
||||
{{#each page.feed.entries}}
|
||||
<article>
|
||||
<h2><a href="{{ url }}">{{{ title }}}</a></h2>
|
||||
<div class="info">
|
||||
<time datetime="{{ updated }}">{{ iso_date updated }}</time>
|
||||
<ul class="categories">
|
||||
{{#each categories as |category|}}
|
||||
<li>{{ category }}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</article>
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/if}}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue