1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-07-02 09:42:35 +00:00

Import Firefox Privacy Post

This commit is contained in:
2020-05-12 13:10:48 -05:00
parent 63e7b5d333
commit fcc9986ab9
12 changed files with 173 additions and 9 deletions

View File

@ -9,7 +9,7 @@ permalink: /blog/
{% for post in site.posts %}
<div class="col-6">
<a href="{{ post.url | prepend: site.baseurl }}" class="text-decoration-none">
<div class="card bg-secondary" {%- if post.cover -%} style="background-image: linear-gradient(to bottom, rgba(40, 50, 63, 0.3), rgba(40, 50, 63, 0.9)), url(/assets/img/blog/{{ post.cover }}); background-size: cover;"{%- endif -%}>
<div class="card bg-secondary" {%- if post.cover -%} style="background-image: {{ post.color | default: "linear-gradient(to bottom, rgba(40, 50, 63, 0.3), rgba(40, 50, 63, 0.9))" }}, url(/assets/img/blog/{{ post.cover }}); background-size: cover; background-position: center;"{%- endif -%}>
<div class="card-body d-flex flex-column align-self-end" style="min-height: 300px;">
<h2 class="card-title mt-auto text-light">{{ post.title }}</h2>
<p class="card-text text-light">{{ post.excerpt }} <strong>Continue Reading...</strong></p>