docs/_layouts/author.html
raw| 1 | --- |
| 2 | layout: default |
| 3 | --- |
| 4 | <h1>{{ page.name }}</h1> |
| 5 | <h2>{{ page.position }}</h2> |
| 6 | |
| 7 | {{ content }} |
| 8 | |
| 9 | <h2>Posts</h2> |
| 10 | <ul> |
| 11 | {% assign filtered_posts = site.posts | where: 'author', page.short_name %} |
| 12 | {% for post in filtered_posts %} |
| 13 | <li><a href="{{ site.baseurl }}/{{ post.url }}">{{ post.title }}</a></li> |
| 14 | {% endfor %} |
| 15 | </ul> |