Merge pull request #12 from safing/feature/podcasts

Podcast setup v1
This commit is contained in:
Dave Gson 2019-09-13 16:03:02 +00:00 committed by GitHub
commit adf2eec8aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 137 additions and 187 deletions

View file

@ -1,7 +1,3 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
@ -24,8 +20,6 @@ github_username: Safing
markdown: kramdown
highlightjs_theme: "monokai_sublime"
paginate: 10
paginate_path: "blog/page:num"
excerpt_separator: "<!--break-->"
inter_post_navigation: false
@ -34,7 +28,6 @@ technology_url: "/technology/"
download_url: "/download/"
community_hub_url: "/community-hub/"
contact_url: "/contact/"
blog_url: "/blog/"
whitepaper_url: "/files/whitepaper/"
cyberfreedom_url: https://twitter.com/davegson/status/1110216714871029761
@ -45,7 +38,7 @@ defaults:
type: "posts" # previously `post` in Jekyll 2.2.
values:
layout: "post"
permalink: "blog/post/:year/:month/:title/"
permalink: /:year/:month/:day/:title/
type: "post"
# Social icons and sharing options
@ -86,3 +79,18 @@ donations:
url: https://www.blockchain.com/btc/address/1AosdDyzd8PVUFTUEXoaJHTyPVHuKQxdmq?filter=2
paypal:
url: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2QHNM78H9YC9L&source=url
### Podcast
podcast_album_art: /assets/img/podcast/cover.png
podcast_owner: 'Safing'
podcast_email: 'hello@safing.io'
podcast_category: Business
podcast_subcategory_one: Entrepreneurship
podcast_subcategory_two: Management
podcast_explicit: "no"
podcast_author: safing.io
podcast_title: The Safing Podcast
podcast_subtitle: "The venture of a privacy company working hard to forge #cyberfreedom"
podcast_description: "Join the founders on their mission to help online citizens reclaim their privacy and enjoy #cyberfreedom. Have a look behind the scenes, understand their decision processes and help shaping the future by contributing to the community!"
podcast_summary: "Join the founders on their mission to help online citizens reclaim their privacy and enjoy #cyberfreedom. Have a look behind the scenes, understand their decision processes and help shaping the future by contributing to the community!"

View file

@ -1,14 +1,14 @@
communities:
- text: >
### Safing Community
### r/safing
Let's talk - Join our community. Get to know us and our products!
#
image:
path: /img/icons/community_logo.svg
icon: huge reddit icon
alt: safing community
url: 'https://discourse.safing.community/'
url: 'https://old.reddit.com/r/safing'
disabled:
- text: >
### Github

3
_includes/audio.html Normal file
View file

@ -0,0 +1,3 @@
<audio preload="none" style="width: 100%;" controls="controls">
<source type="audio/mp3" src="{{ site.url }}{{ page.podcast_link }}" />
</audio>

View file

@ -11,7 +11,7 @@ subheading: "Announcements and things we'd like to share"
</div>
<div class="tags">
{% for tag in page.tags %}
<a href="{{ site.base_url }}blog/tags/#{{ tag }}" class="stealth-href"><i class="fa fa-tag fa-flip-horizontal"></i> {{ tag }}</a>
<div class="stealth-href"><i class="fa fa-tag fa-flip-horizontal"></i> {{ tag }}</div>
{% endfor %}
</div>

View file

@ -1,7 +0,0 @@
---
title: Re-Launched.
tags: wohoo
---
We have relaunched this website!
Re-launching the blog is a bit of a work in progress ;)

View file

@ -0,0 +1,28 @@
---
title: "#001 - How to fund a privacy oriented start up"
guid: safing_podcast_001
keywords: funding privacy startup
date: 2019-09-13
tags:
- startup
- funding
- privacy
image: /assets/img/podcast/cover.png
podcast_link: /assets/mp3/001 - How to fund a privacy oriented start up.mp3
podcast_file_size: 33.3 MB
podcast_duration: "34:42"
# actually byte size
podcast_length: 33317116
summary: "In this first episode, we introduce the podcast, talk about how start ups are funded in general and have a look at how governmental grants work. We also talk about our experience with grants and we drop news regarding the most recent one we applied for."
hosts:
- davegson
- raphty
---
{% include audio.html %}
## Links
* [Ownership & Influences of Safing](https://safing.io/our-values/#ownership)
* [Eero being bought by Amazon](https://www.theverge.com/2019/2/11/18220960/amazon-eero-acquisition-announced)
* [Participate in our community](https://old.reddit.com/r/safing)

View file

@ -30,26 +30,35 @@
padding: 0 !important;
}
.community-hub .ui.button{
width: 100%;
border-radius: 92px;
margin: 1rem 0;
.community-hub .ui.button {
width: 100%;
border-radius: 92px;
margin: 1rem 0;
.twitch.icon {
color: #4b367c;
}
.twitter.icon {
color: #1da1f2;
}
.github.icon {
color: black;
}
.reddit.icon {
color: #ff4301;
}
.discourse.icon {
color: green;
}
.rss.icon {
color: #a0a5ae;
}
.envelope.icon {
color: #c16f6f;
}

View file

@ -5,7 +5,7 @@
}
.tags {
> a {
> a, > div {
display: inline-block;
background-color: $color_gallery_approx;
border-radius: 3px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

View file

@ -1,34 +0,0 @@
---
layout: page_column
title: "Blog"
heading: "Blog"
subheading: "sorted by date"
---
<div class="padding-top-40 padding-bottom-80">
<table class="post-list table table-condensed">
{% for post in site.posts %}
{% assign postyear = post.date | date: "%Y" %}
<tr class="post">
{% ifchanged postyear %}
<td class="no-border">
<h2 class="padding-top-20">{{ postyear }}</h2>
</td>
<td class="no-border"></td>
<td class="no-border"></td>
</tr>
<tr class="post no-border">
{% endifchanged %}
<td><a href="{{ site.base_url }}{{ post.url | replace_first: '/', '' }}" class="stealth-href">{{ post.title }}</a></td>
<td>
<span class="tags">
{% for tag in post.tags %}
<a href="{{ site.base_url }}blog/tags/#{{ tag }}" class="stealth-href"><i class="fa fa-tag fa-flip-horizontal"></i> {{ tag }}</a>
{% endfor %}
</span>
</td>
<td class="text-right">{{ post.date | date: "%-d %b %Y" }}</td>
</tr>
{% endfor %}
</table>
</div>

View file

@ -1,87 +0,0 @@
---
layout: page_column
title: "Blog"
heading: "Blog"
subheading: "Announcements and things we'd like to share"
---
<p style="text-align: center; margin-top: -40px;">For announcements, please check <a href="/blog/tags/#announcement">here</a>.</p>
<div class="post-list">
{% for post in site.posts limit:10 %}
{% unless post.tags contains "announcement" %}
<div class="post">
{% include page_divider.html %}
<h3 class="padding-top-20"><a href="{{ site.base_url }}{{ post.url | replace_first: '/', '' }}" class="stealth-href">{{ post.title }}</a></h3>
<div class="date">
<a href="{{ site.base_url }}blog/all/#{{ post.date | date: "%Y" }}" class="stealth-href">{{ post.date | date: "%-d %b %Y" }}</a>
</div>
<div class="tags">
{% for tag in post.tags %}
<a href="{{ site.base_url }}blog/tags/#{{ tag }}" class="stealth-href"><i class="fa fa-tag fa-flip-horizontal"></i> {{ tag }}</a>
{% endfor %}
</div>
<div class="content padding-top-20">
{{ post.excerpt }}
{% capture content_words %}
{{ post.content | number_of_words }}
{% endcapture %}
{% capture excerpt_words %}
{{ post.excerpt | number_of_words }}
{% endcapture %}
{% if excerpt_words != content_words %}
<p>
<a href="{{ site.base_url }}{{ post.url | replace_first: '/', '' }}#continue" class="pull-right">continue reading <i class="fa fa-arrow-right main-color-l1"></i></a>
</p>
{% endif %}
</div>
</div>
{% endunless %}
{% endfor %}
</div>
<nav class="pagination" role="navigation">
<p>
{% if paginator.next_page %}
<a class="newer-posts" href="{{ site.base_url }}blog/page{{paginator.next_page}}">
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
</span>
</a>
{% else %}
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
</span>
{% endif %}
<span class="page-number">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="newer-posts" href="{% if site.base_url %}{{ site.base_url }}{% endif %}/">
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
</span>
</a>
{% else %}
<a class="newer-posts" href="{{ site.base_url }}blog/page{{paginator.previous_page}}">
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
</span>
</a>
{% endif %}
{% else %}
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
</span>
{% endif %}
</p>
</nav>

View file

@ -1,42 +0,0 @@
---
layout: page_column
title: "Blog"
heading: "Blog"
subheading: "sorted by tags"
---
<div class="padding-top-40 padding-bottom-80">
<table class="post-list table table-condensed">
{% for tag in site.tags %}
{% assign t = tag | first %}
{% assign posts = tag | last %}
{% for post in posts %}
{% if post.tags contains t %}
<tr class="post">
{% ifchanged t %}
<a name="{{ t }}">
<td class="no-border">
<h2 class="padding-top-20"><i class="fa fa-tag fa-flip-horizontal"></i> {{ t }}</h2>
</td>
<td class="no-border"></td>
<td class="no-border"></td>
</tr>
<tr class="post no-border">
{% endifchanged %}
<td><a href="{{ site.base_url }}{{ post.url | replace_first: '/', '' }}" class="stealth-href">{{ post.title }}</a></td>
<td>
<span class="tags">
{% for tag in post.tags %}
<a href="#{{ tag }}" class="stealth-href"><i class="fa fa-tag fa-flip-horizontal"></i> {{ tag }}</a>
{% endfor %}
</span>
</td>
<td class="text-right"><a href="{{ site.base_url }}blog/all/#{{ post.date | date: "%Y" }}" class="stealth-href">{{ post.date | date: "%-d %b %Y" }}</a></td>
</tr>
{% endif %}
{% endfor %}
{% endfor %}
</table>
</div>

72
podcast.xml Normal file
View file

@ -0,0 +1,72 @@
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/">
<channel>
<title>{{ site.podcast_title }}</title>
<atom:link href="{{ site.url }}/feed/podcast" rel="self" type="application/rss+xml" />
<link>{{ site.url }}</link>
<description>{{ site.podcast_description }}</description>
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
<language>en-US</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>http://jekyllrb.com</generator>
<itunes:summary>{{ site.podcast_summary }}</itunes:summary>
<itunes:author>{{ site.podcast_author }}</itunes:author>
<itunes:explicit>{{ site.podcast_explicit }}</itunes:explicit>
<itunes:image href="{{ site.url }}{{ site.podcast_album_art }}" />
<itunes:owner>
<itunes:name>{{ site.podcast_owner }}</itunes:name>
<itunes:email>{{ site.podcast_email }}</itunes:email>
</itunes:owner>
<managingEditor>{{ site.podcast_email }} ({{ site.podcast_owner }})</managingEditor>
<itunes:subtitle>{{ site.podcast_subtitle }}</itunes:subtitle>
<image>
<title>{{ site.podcast_title }}</title>
<url>{{ site.url }}{{ site.podcast_album_art }}</url>
<link>{{ site.url }}</link>
</image>
<itunes:category text="{{ site.podcast_category }}">
<itunes:category text="{{ site.podcast_subcategory_one }}" />
<itunes:category text="{{ site.podcast_subcategory_two }}" />
</itunes:category>
{% for ep in site.posts %}
<item>
<title>{{ ep.title }}</title>
<link>{{ site.url }}{{ ep.url }}</link>
<pubDate>{{ ep.date | date: "%a, %d %b %Y %T %z" }}</pubDate>
<dc:creator><![CDATA[{{ site.podcast_author | cdata_escape }}]]></dc:creator>
{% for category in ep.categories %}
<category><![CDATA[{{ category | cdata_escape }}]]></category>
{% endfor %}
{% for category in ep.tags %}
<category><![CDATA[{{ category | cdata_escape }}]]></category>
{% endfor %}
<guid isPermaLink="{% if ep.podcast_guid %}false{% else %}true{% endif %}">{{ site.url }}{% if ep.podcast_guid %}/{{ ep.podcast_guid }}{% else %}{{ ep.url }}{% endif %}</guid>
<description>
<![CDATA[{{ ep.excerpt | strip_html | truncatewords: 50 | expand_urls: site.url | cdata_escape }}]]>
</description>
<enclosure url="{{ site.url }}{{ ep.podcast_link }}" length="{{ ep.podcast_length }}" type="audio/mpeg" />
<itunes:subtitle><![CDATA[{{ ep.excerpt | strip_html | truncatewords: 50 | expand_urls: site.url | cdata_escape }}]]></itunes:subtitle>
<itunes:summary><![CDATA[{{ ep.summary | expand_urls: site.url | cdata_escape }}]]></itunes:summary>
<itunes:author>{{ site.podcast_author }}</itunes:author>
<itunes:image href="{{ site.url }}{{ site.podcast_album_art }}" />
<itunes:explicit>{{ site.podcast_explicit }}</itunes:explicit>
<itunes:duration>{{ ep.podcast_duration }}</itunes:duration>
</item>
{% endfor %}
</channel>
</rss>