add twitter collections

This commit is contained in:
⧉ infominer 2020-11-21 09:33:42 -05:00
parent 39ebf054fb
commit 6f46f92bf0
13 changed files with 118 additions and 11 deletions

View File

@ -328,3 +328,26 @@ defaults:
toc_label : "Contents"
toc_icon : "link"
toc_sticky : true
- scope:
path: "_posts/twitter"
type: posts
values:
sidebar:
- title: "Identity Decentralized"
image: "/images/DID_ban.webp"
image_alt: "Decentralized-ID.com Sidebar"
nav: "didnav"
layout: single
permalink: /twitter/:year/:month/:day/
author_profile: true
read_time: false
comments: false
share: false
classes: wide
categories: ["Twitter"]
toc: false
header:
image: /images/collections.webp
og_image: /images/weekly-tweet-collections.webp
teaser: /images/did-twitter-sq.webp
caption: "[@DecentralizeID](https://twitter.com/DecentralizeID)"

View File

@ -0,0 +1,34 @@
{% if post.header.teaser %}
{% capture teaser %}{{ post.header.teaser }}{% endcapture %}
{% else %}
{% assign teaser = site.teaser %}
{% endif %}
{% if post.id %}
{% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %}
{% else %}
{% assign title = post.title %}
{% endif %}
<div class="{{ include.type | default: "list" }}__item">
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
{% if include.type == "grid" and teaser %}
<div class="archive__item-teaser">
<img src=
{% if teaser contains "://" %}
"{{ teaser }}"
{% else %}
"{{ teaser | relative_url }}"
{% endif %}
alt="">
</div>
{% endif %}
<h3 class="archive__item-title" itemprop="headline">
{% if post.link %}
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
{% else %}
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
{% endif %}
</h3>
</article>
</div>

View File

@ -25,11 +25,15 @@ layout: archive
{% for i in (1..categories_max) reversed %}
{% for category in site.categories %}
{% if category[1].size == i %}
<li>
<a href="#{{ category[0] | slugify }}">
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
</a>
</li>
{% if category[0] == "Twitter" %}
<!--// we do nothing-->
{% else if %}
<li>
<a href="#{{ category[0] | slugify }}">
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
@ -38,15 +42,19 @@ layout: archive
{% for i in (1..categories_max) reversed %}
{% for category in site.categories %}
{% if category[1].size == i %}
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
<h3 class="archive__subtitle">{{ category[0] }}</h3>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% if category[0] == "Twitter" %}
<!--// we do nothing-->
{% else if %}
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
<h3 class="archive__subtitle">{{ category[0] }}</h3>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% for post in category.last %}
{% include archive-single.html type=page.entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}

17
_pages/twitter.md Normal file
View File

@ -0,0 +1,17 @@
---
title: Twitter Collections
layout: single
permalink: twitter/
canonical_url: https://decentralized-id.com/twitter/
toc: false
header:
image: /images/collections.webp
og_image: /images/weekly-tweet-collections.webp
---
Part of the backend supporting @infominer33 and @identitywoman in creating the weekly newsletter, [Identosphere Highlights](https://identosphere.substack.com).
{% for post in site.categories.Twitter %}
{% include archive-twitter.html %}
{% endfor %}

View File

@ -0,0 +1,6 @@
---
title: Twitter Collection 2020-10-31
description: Collection of tweets on decentralized identity from the week preceding 10-31-2020
---
<a class="twitter-timeline" href="https://twitter.com/DecentralizeID/timelines/1322785746915307520?ref_src=twsrc%5Etfw">October Week 5 #SSI #DID - Curated tweets by DecentralizeID</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

View File

@ -0,0 +1,6 @@
---
title: Twitter Collection 2020-11-07
description: Collection of tweets on decentralized identity from the week preceding 11-07-2020
---
<a class="twitter-timeline" href="https://twitter.com/DecentralizeID/timelines/1325219075463712769?ref_src=twsrc%5Etfw">November Week 1 #SSI #DID - Curated tweets by DecentralizeID</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

View File

@ -0,0 +1,7 @@
---
title: Twitter Collection 2020-11-14
description: Collection of tweets on decentralized identity from the week preceding 10-31-2020
layout: single
---
<a class="twitter-timeline" href="https://twitter.com/DecentralizeID/timelines/1327793303472005127?ref_src=twsrc%5Etfw">Decentralized Identity - Week 2 November - Curated tweets by DecentralizeID</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

View File

@ -0,0 +1,6 @@
---
title: Twitter Collection 2020-11-21
description: Collection of tweets on decentralized identity from the week preceeding 10-21-2020
published: false
---

BIN
images/collections.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/did-twitter-sq.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/twitter_header.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB