diff options
Diffstat (limited to 'templates/blog-post.html')
| -rw-r--r-- | templates/blog-post.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/blog-post.html b/templates/blog-post.html index 3bde48d..4f1e5a2 100644 --- a/templates/blog-post.html +++ b/templates/blog-post.html @@ -21,7 +21,9 @@ <meta property="article:author" content="https://dennisfink.me/about"> {% if this.publication_date %} <meta property="article:published_time" - content="{{ this.publication_date }}T00:00:00+02:00"> + content="{{ this.publication_date }}T00:00:00+02:00" + data-pagefind-meta="date[content]" + data-pagefind-sort="date[content]"> {% endif %} {% if latest_change %} <meta property="article:modified_time" @@ -29,10 +31,14 @@ {% endif %} {% if this.category %} {% set category = site.get("/categories/" + this.category) %} - <meta property="article:section" content="{{ category.name }}"> + <meta property="article:section" + content="{{ category.name }}" + data-pagefind-filter="category[content]"> {% endif %} {% for t in this.tags %} - <meta property="article:tag" content="{{ t }}"> + <meta property="article:tag" + content="{{ t }}" + data-pagefind-filter="tag[content]"> {% endfor %} {% endblock %} |
