Author profile

This commit is contained in:
John O'Nolan
2021-03-04 17:22:45 -05:00
parent b5d0589222
commit 7617c7baf2
11 changed files with 195 additions and 272 deletions

View File

@ -19,13 +19,19 @@ Keep this template as lightweight as you can!
<p class="error-description">{{message}}</p>
<a class="error-link" href="{{@site.url}}">Go to the front page →</a>
</section>
</div>
</section>
{{#get "posts" limit="3" include="authors,tags"}}
<div class="post-feed">
{{#foreach posts}}
{{> "post-card"}}
{{!-- Given that people landing on this page didn't find what they
were looking for, let's give them some alternative stuff to read. --}}
<aside class="read-more-wrap">
<div class="read-more inner">
{{#get "posts" include="authors" limit="3" as |more_posts|}}
{{#if more_posts}}
{{#foreach more_posts}}
{{> "post-card"}}
{{/foreach}}
</div>
{{/if}}
{{/get}}
</div>
</section>
</aside>