1
0
mirror of https://github.com/privacyguides/blog.privacyguides.org.git synced 2025-07-09 21:22:36 +00:00

Post licensing

This commit is contained in:
2022-10-24 10:38:28 -05:00
parent 9294e8f542
commit e42b0aa354
15 changed files with 209 additions and 1 deletions

View File

@ -1,5 +1,34 @@
# Privacy Guides Blog
## Post Metadata
- `date` (**required**): Post date
- `categories`: List of post categories. Allowed categories: `Announcements`, `Opinion`, `Software`, `Hardware`, `Android`, `iOS`, `Linux`, `macOS`, `Windows`, `Qubes OS`, `Providers`
- `authors`: List of post authors. Authors must exist in [`.authors.yml`](/docs/.authors.yml). Only the first author will be displayed on the blog index.
- `links`: Related links shown on post sidebar. May be internal or external links.
- `tags`: List of post tags. Reuse [existing tags](https://blog.privacyguides.org/tags/) if applicable, but feel free to add any as-needed.
- `license`: Post license. May be one of `BY`, `BY-SA`, `BY-NC`, `BY-NC-SA`, `BY-SA`, `BY-ND`, `BY-NC-ND`, or `CC0` to be automatically linked, or set to any HTML string. Defaults to "All rights reserved" if not set.
Example:
```
---
date: 2021-09-14
categories:
- Announcements
authors:
- jonaharagon
- dngray
- freddy-m
links:
- 'About Privacy Guides': "https://www.privacyguides.org/about/"
- posts/weve-joined-the-open-collective-foundation.md
tags:
- Privacy Guides
license: CC0
---
```
## Developing
Committing to this repository requires [signing your commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) (`git config commit.gpgsign true`) unless you are making edits via the GitHub.com text editor interface. As of August 2022 the preferred signing method is [SSH commit signatures](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification#ssh-commit-signature-verification), but GPG signing is also acceptable. You should add your signing key to your GitHub profile.

View File

@ -9,6 +9,7 @@ links:
- Types of Communication Networks: https://www.privacyguides.org/real-time-communication/communication-network-types/
tags:
- Instant Messengers
license: BY-SA
---
# Choosing The Right Messenger

View File

@ -9,6 +9,7 @@ links:
tags:
- Browsers
- Firefox
license: CC0
---
# Firefox Privacy: 2021 Update

View File

@ -9,6 +9,7 @@ links:
tags:
- Browsers
- Firefox
license: BY-SA
---
# Firefox Privacy: Tips and Tricks for Better Browsing

View File

@ -9,6 +9,7 @@ links:
- posts/choosing-the-right-messenger.md
tags:
- Government
license: BY-SA
---
# Hide Nothing

View File

@ -9,6 +9,7 @@ links:
- posts/us-government-continues-encryption-war.md
tags:
- Facebook
license: BY-SA
---
# Move Fast and Break Things

View File

@ -7,6 +7,7 @@ authors:
links:
- 'Threat Modeling<br><small>Creating Your Threat Model</small>': https://www.privacyguides.org/basics/threat-modeling/
- posts/choosing-the-right-messenger.md
license: BY
---
# Security, Privacy, and Anonymity

View File

@ -10,6 +10,7 @@ links:
- VPN Recommendations: https://www.privacyguides.org/vpn/
tags:
- VPN
license: BY-SA
---
# The Trouble with VPN and Privacy Review Sites

View File

@ -8,6 +8,7 @@ links:
- posts/us-government-wages-war-on-encryption.md
tags:
- Government
license: BY-SA
---
# US Government Continues Encryption War

View File

@ -8,6 +8,7 @@ links:
- posts/us-government-continues-encryption-war.md
tags:
- Government
license: BY-SA
---
# US Government Wages War on Encryption

View File

@ -10,6 +10,7 @@ links:
- posts/us-government-wages-war-on-encryption.md
tags:
- Facebook
license: BY-SA
---
# Virtual Insanity

View File

@ -11,6 +11,7 @@ links:
- posts/weve-joined-the-open-collective-foundation.md
tags:
- Privacy Guides
license: CC0
---
# Welcome to Privacy Guides

View File

@ -8,6 +8,7 @@ links:
- posts/welcome-to-privacy-guides.md
tags:
- Privacy Guides
license: CC0
---
# We've joined the Open Collective Foundation 501(c)(3)

View File

@ -9,6 +9,7 @@ links:
tags:
- Tor
- Self-Hosting
license: BY-SA
---
# Why I Decided to Run a Tor Relay
@ -37,4 +38,4 @@ At the time of writing my relay has been flagged valid, running and
---
*Sam is an elearning designer and privacy advocate interested in free (libre) software and how it can protect civil liberties. This article was [originally published](https://web.archive.org/web/20200508115203/https://samhowell.uk/dark/blog/blog-Tor_Relay.html) on my personal blog at [samhowell.uk](https://samhowell.uk), on February 15th, 2019. It is made available under the [Creative Commons By-SA 4.0 License](https://creativecommons.org/licenses/by-sa/4.0/).*
*Sam is an elearning designer and privacy advocate interested in free (libre) software and how it can protect civil liberties. This article was [originally published](https://web.archive.org/web/20200508115203/https://samhowell.uk/dark/blog/blog-Tor_Relay.html) on my personal blog at [samhowell.uk](https://samhowell.uk), on February 15th, 2019.*

166
theme/blog-post.html Normal file
View File

@ -0,0 +1,166 @@
{% extends "main.html" %}
{% import "partials/nav-item.html" as item with context %}
<!-- Page content -->
{% block container %}
<div class="md-content md-content--post" data-md-component="content">
<!-- Sidebar -->
<div
class="md-sidebar md-sidebar--post"
data-md-component="sidebar"
data-md-type="navigation"
>
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner md-post">
<nav class="md-nav">
<!-- Back to overview link -->
<div class="md-post__back">
<div class="md-nav__title md-nav__container">
<a href="{{ page.parent.url | url }}" class=" md-nav__link">
{% include ".icons/material/arrow-left.svg" %}
<span class="md-ellipsis">
{{ lang.t("blog.index") }}
</span>
</a>
</div>
</div>
<!-- Page authors -->
{% if page.authors %}
<div class="md-post__authors md-typeset">
{% for author in page.authors %}
<div class="md-profile md-post__profile">
<span class="md-author md-author--long">
<img src="{{ author.avatar }}" alt="{{ author.name }}" />
</span>
<span class="md-profile__description">
<strong>{{ author.name }}</strong><br />
{{ author.description }}
</span>
</div>
{% endfor %}
</div>
{% endif %}
<!-- Page metadata -->
<ul class="md-post__meta md-nav__list">
<li class="md-nav__item md-nav__title">
<div class="md-nav__link">
<span class="md-ellipsis">
{{ lang.t("blog.meta") }}
</span>
</div>
</li>
<!-- Page date -->
<li class="md-nav__item">
<div class="md-nav__link">
{% include ".icons/material/calendar.svg" %}
<time datetime="{{ page.meta.date }}" class="md-ellipsis">
{{- page.meta.date_format -}}
</time>
</div>
</li>
<!-- Page categories -->
{% if page.categories %}
<li class="md-nav__item">
<div class="md-nav__link">
{% include ".icons/material/bookshelf.svg" %}
<span class="md-ellipsis">
{{ lang.t("blog.categories.in") }}
{% for category in page.categories %}
<a href="{{ category.url | url }}">
{{- category.title -}}
</a>
{%- if loop.revindex > 1 %}, {% endif -%}
{% endfor -%}
</span>
</div>
</li>
{% endif %}
<!-- Page readtime -->
{% if page.meta.readtime %}
{% set time = page.meta.readtime %}
<li class="md-nav__item">
<div class="md-nav__link">
{% include ".icons/material/clock-outline.svg" %}
<span class="md-ellipsis">
{% if time == 1 %}
{{ lang.t("readtime.one") }}
{% else %}
{{ lang.t("readtime.other") | replace("#", time) }}
{% endif %}
</span>
</div>
</li>
{% endif %}
<!-- Post license -->
<li class="md-nav__item">
<div class="md-nav__link">
{% if page.meta.license == "BY" or page.meta.license == "BY-SA" or page.meta.license == "BY-NC" or page.meta.license == "BY-NC-SA" or page.meta.license == "BY-SA" or page.meta.license == "BY-ND" or page.meta.license == "BY-NC-ND" %}
{% include ".icons/fontawesome/brands/creative-commons.svg" %}
<span class="md-ellipsis">
<a href="https://creativecommons.org/licenses/{{ page.meta.license|lower }}/4.0/">{{ page.meta.license }} 4.0</a>
</span>
{% elif page.meta.license == "CC0" %}
{% include ".icons/fontawesome/brands/creative-commons-zero.svg" %}
<span class="md-ellipsis">
<a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 (Public domain)</a>
</span>
{% elif page.meta.license == "Public domain" %}
{% include ".icons/fontawesome/brands/creative-commons-pd.svg" %}
<span class="md-ellipsis">
<a href="https://creativecommons.org/publicdomain/zero/1.0/">Public domain</a>
</span>
{% elif page.meta.license %}
{% include ".icons/material/scale-balance.svg" %}
<span class="md-ellipsis">
{{ page.meta.license }}
</span>
{% else %}
{% include ".icons/material/copyright.svg" %}
<span class="md-ellipsis">
All rights reserved
</span>
{% endif %}
</div>
</li>
</ul>
<!-- Page links -->
{% if page.links %}
<ul class="md-nav__list">
<li class="md-nav__item md-nav__title">
<div class="md-nav__link">
<span class="md-ellipsis">
{{ lang.t("blog.references") }}
</span>
</div>
</li>
<!-- Render page links -->
{% for nav_item in page.links %}
{% set path = "__ref_" ~ loop.index %}
{{ item.render(nav_item, path, 1) }}
{% endfor %}
</ul>
{% endif %}
</nav>
</div>
</div>
</div>
<!-- Page content -->
<article class="md-content__inner md-typeset">
{% block content %}
{% include "partials/content.html" %}
{% endblock %}
</article>
</div>
{% endblock %}