Update Journal-related functionality
This commit is contained in:
parent
aa9789b36d
commit
2d199f09ac
6 changed files with 79 additions and 25 deletions
|
@ -15,6 +15,8 @@
|
|||
<div class="menu-toggle">M</div>
|
||||
<menu>
|
||||
<figure>
|
||||
<h2><a href="/">Site Home</a></h2>
|
||||
<hr>
|
||||
<a href="/journals/{{ page.aut }}">
|
||||
<img src="/assets/{{ page.aut }}.png" alt="{{ page.author }}" />
|
||||
</a>
|
||||
|
@ -23,14 +25,9 @@
|
|||
<hr>
|
||||
</figure>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/">Site Home</a></li>
|
||||
<li><a href="/journals/{{ page.aut }}">Journal Home</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<ul>
|
||||
{% assign entries = site.posts |
|
||||
where_exp:"posts", "posts.categories contains page.aut" %}
|
||||
where_exp: "posts", "posts.categories contains page.aut" %}
|
||||
{% for entry in entries %}
|
||||
<li>
|
||||
<a href="{{ entry.url }}">{{ entry.title }}</a>
|
||||
|
@ -43,7 +40,9 @@
|
|||
<main>
|
||||
<article>
|
||||
{{ content }}
|
||||
{% include journal_footer.html %}
|
||||
{% unless page.no-footer %}
|
||||
{% include journal_footer.html %}
|
||||
{% endunless %}
|
||||
</article>
|
||||
</main>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue