mirror of
https://github.com/privacyguides/privacyguides.org
synced 2024-11-28 14:03:30 +01:00
806b0b97d7
Co-authored-by: Daniel Gray <dng@disroot.org>
49 lines
2.1 KiB
HTML
49 lines
2.1 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context": "https://schema.org/",
|
|
"@type": "Article",
|
|
"headline": "{{ page.title }}",
|
|
"description": "{{ page.excerpt }}",
|
|
"datePublished": "{{ page.date }}",
|
|
"publisher": {{ site.data.schema.organization | jsonify }},
|
|
"url": "{{ page.url | prepend: site.url }}",
|
|
"author": [
|
|
{% for author in page.author %}{"@type": "Person",
|
|
"name": "{{ author }}"
|
|
}{% unless forloop.last %}, {% endunless %}{% endfor %}
|
|
]
|
|
{% if page.cover %}, "image": "/assets/img/blog/{{ page.cover }}"{% endif %}
|
|
}
|
|
</script>
|
|
|
|
<div class="p-5 mb-3 text-light bg-700"{% if page.cover %} style="background-image: {{ page.color | default: "linear-gradient(to bottom, rgba(40, 50, 63, 0.3), rgba(40, 50, 63, 0.9))" }}, url(/assets/img/blog/{{ page.cover }}); background-size: cover; background-position: center;"{% endif %}>
|
|
<div class="container">
|
|
<div class="post-cover">
|
|
<div class="inner d-flex flex-column align-self-end" style="min-height: 300px;">
|
|
<div class="mt-auto">
|
|
<h1 class="post-title display-4">{{ page.title }}</h1>
|
|
</div>
|
|
<div class="mt-3">
|
|
<p class="post-info">By: {% for author in page.author %}{{ author }}{% unless forloop.last %}, {% endunless %}{% endfor %} | {{ page.date | date: "%b %-d, %Y" }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container my-5">
|
|
<div class="row justify-content-md-center">
|
|
<div class="col-lg-7">
|
|
{{ content }}
|
|
</div>
|
|
</div>
|
|
{% if page.canonical or page.cover_src_publisher %}<hr class="m-5" />
|
|
{% if page.cover_src_publisher %}<p><em>Cover photo: <a href="{{ page.cover_src }}">{{ page.cover_src_publisher }}</a>. Used with permission.</em></p>{% endif %}
|
|
{% if page.canonical %}<p><em>This post was originally published on <a href="{{ page.canonical }}">{% if page.canonical_publisher %}{{ page.canonical_publisher }}{% else %}{{ page.canonical }}{% endif %}</a> and has been syndicated here with the permission of the author or publication.</em>{% endif %}</p>{% endif %}
|
|
{% include hr.html %}
|
|
{% include footer.html %}
|
|
</div>
|