sort by title, add og image and alt
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
{% if collections[tag] | filterByDate(today) | length == 0 %}
|
||||
<p>No listings.</p>
|
||||
{% endif %}
|
||||
{% for listing in collections[tag] | filterByDate(today) %}
|
||||
{% for listing in collections[tag] | filterByDate(today) | sortAlphabeticallyByTitle %}
|
||||
{% include "listing.njk" %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
@ -17,6 +17,8 @@
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:description" content="{{ description or metadata.description }}" />
|
||||
<meta property="og:site_name" content="{{ metadata.title }}" />
|
||||
<meta property="og:image" content="/favicon.ico" />
|
||||
<meta property="og:image:alt" content="a newspaper icon with the fediverse logo, an interconnected rainbow pentagon, superimposed." />
|
||||
|
||||
<meta name="generator" content="{{ eleventy.generator }}">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user