2
0
mirror of https://github.com/offen/website.git synced 2024-12-26 06:40:21 +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.
date: 2020-12-28
slug: privacy-cookies
sitemap_priority: 0.7
image_url: /theme/images/offen-blog-0140-privacy-cookies.jpg
author: Frederik Ring
must_read: True
bottom_cta: quality
## Privacy focus? Consider the cookie

View File

@ -36,9 +36,15 @@
<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 }}
</h6>
<h1 class="f26 normal lh-title mt3 ma0 mb3 light-silver">
<a href="/blog/{{ article.slug }}/" class="link b dim gray">{{ article.title }}</a>
</h1>
<h1 class="f26 normal lh-title mt3 ma0 mb3 light-silver">
{% if not article.must_read %}
<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>
{{ article.description }} <a href="/blog/{{ article.slug }}/" class="link b dim gray">Read more</a>
</p>