chore(links.html/css): refactor layout to properly use article tags and headers for each link item
This commit is contained in:
parent
e71eb1c185
commit
bb72776be8
4 changed files with 47 additions and 146 deletions
|
@ -17,16 +17,14 @@ permalink: "/links/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}
|
|||
{% endif %}
|
||||
<div class="link-grid">
|
||||
{% for link in pagination.items %}
|
||||
<div class="link-box">
|
||||
<article>
|
||||
<time datetime="{{ link.date }}">{{ link.date | date: "%B %e, %Y" }}</time>
|
||||
<article>
|
||||
<a href="{{ link.link }}" title="{{ link.title | escape }}"><strong>{{ link.title }}</strong></a>
|
||||
{% if link.author %} via <a href="{{ link.author.url }}">{{ link.author.name }}</a>{% endif %}
|
||||
{% render "blocks/tags.liquid",
|
||||
tags:link.tags
|
||||
%}
|
||||
</article>
|
||||
</div>
|
||||
<a href="{{ link.link }}" title="{{ link.title | escape }}"><h3>{{ link.title }}</h3></a>
|
||||
{% if link.author %} via <a href="{{ link.author.url }}">{{ link.author.name }}</a>{% endif %}
|
||||
{% render "blocks/tags.liquid",
|
||||
tags:link.tags
|
||||
%}
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% render "nav/paginator.liquid",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue