2
0
mirror of https://github.com/offen/website.git synced 2024-11-25 02:10:26 +01:00

add must read marker for blog

This commit is contained in:
Hendrik Niefeld 2020-12-28 22:17:09 +01:00
parent ef6df724b3
commit 286bbee047
2 changed files with 11 additions and 4 deletions

View File

@ -1,10 +1,11 @@
title: Privacy focus? Consider the cookie. title: Privacy focus? Consider the cookie
description: Using cookies does not necessarily equal tracking your users. Learn how you can use cookies to respect the privacy of your users. description: Using cookies does not necessarily equal tracking your users. Learn how you can use cookies to respect the privacy of your users.
date: 2020-12-28 date: 2020-12-28
slug: privacy-cookies slug: privacy-cookies
sitemap_priority: 0.7 sitemap_priority: 0.7
image_url: /theme/images/offen-blog-0140-privacy-cookies.jpg image_url: /theme/images/offen-blog-0140-privacy-cookies.jpg
author: Frederik Ring author: Frederik Ring
must_read: True
bottom_cta: quality bottom_cta: quality
## Privacy focus? Consider the cookie ## Privacy focus? Consider the cookie

View File

@ -36,9 +36,15 @@
<h6 class="f5 lh-solid normal ma0 light-silver"> <h6 class="f5 lh-solid normal ma0 light-silver">
{{ article.date | strftime('%d %b %Y') }}{% if article.modified %}(article.updated {{ article.modified | strftime('%d %b %Y') }}){% endif %}, {{ article.author }} {{ article.date | strftime('%d %b %Y') }}{% if article.modified %}(article.updated {{ article.modified | strftime('%d %b %Y') }}){% endif %}, {{ article.author }}
</h6> </h6>
<h1 class="f26 normal lh-title mt3 ma0 mb3 light-silver"> <h1 class="f26 normal lh-title mt3 ma0 mb3 light-silver">
<a href="/blog/{{ article.slug }}/" class="link b dim gray">{{ article.title }}</a> {% if not article.must_read %}
</h1> <a href="/blog/{{ article.slug }}/" class="link b dim gray">{{ article.title }}</a>
{% else %}
<em>
<a href="/blog/{{ article.slug }}/" class="link b dim gray">{{ article.title }}</a>
</em>
{% endif %}
</h1>
<p> <p>
{{ article.description }} <a href="/blog/{{ article.slug }}/" class="link b dim gray">Read more</a> {{ article.description }} <a href="/blog/{{ article.slug }}/" class="link b dim gray">Read more</a>
</p> </p>