Gordon Pedersen
6647dabdc8
Needed a little modification here and there to make it work with the activity pub data structure, but it's looking pretty good!
9 lines
No EOL
337 B
Text
9 lines
No EOL
337 B
Text
{% from "macro-author.njk" import authorMacro %}
|
|
{% macro cardHeadMacro(author, date, url) %}
|
|
<div class="card-head">
|
|
<a class="u-url permalink" rel="bookmark" href="{{ url }}" >
|
|
<time class="dt-published" datetime="{{ date | dateISOString }}">{{ date | formatDate }}</time>
|
|
</a>
|
|
{{ authorMacro(author) }}
|
|
</div>
|
|
{% endmacro %} |