Implement remote-image

New draft for obscure services I use
This commit is contained in:
Ayo Ayco 2023-07-13 22:41:56 +02:00
parent 1e05eee353
commit 72e7a0308c
2 changed files with 29 additions and 2 deletions

View file

@ -31,7 +31,7 @@ layout: default
</span> </span>
</time> </time>
</div> </div>
{% if page.image %} {% if page.image or page.remote-image %}
<img <img
class="blog-post__header__image" class="blog-post__header__image"
{% if page.image-alt %} {% if page.image-alt %}
@ -40,7 +40,12 @@ layout: default
alt="Header image for: {{page.title | escape}} • {{page.description | escape}} • {{site.title | escape}} • {{site.description | escape}} • {{site.author | escape}}" alt="Header image for: {{page.title | escape}} • {{page.description | escape}} • {{site.title | escape}} • {{site.description | escape}} • {{site.author | escape}}"
{% endif %} {% endif %}
title="Header image for: {{page.title | escape}} • {{page.description | escape}} • {{site.title | escape}} • {{site.description | escape}} • {{site.author | escape}}" title="Header image for: {{page.title | escape}} • {{page.description | escape}} • {{site.title | escape}} • {{site.description | escape}} • {{site.author | escape}}"
src="../assets/images/{{page.image}}.jpg"
{% if page.image %}
src="../assets/images/{{page.image}}.jpg"
{% elsif page.remote-image %}
src="{{page.remote-image}}"
{% endif %}
/> />
<p class="blog-post__header__image-caption"> <p class="blog-post__header__image-caption">

View file

@ -0,0 +1,22 @@
---
published: false
title: Some obscure services I use and the reasons why
permalink: /:title/
description: Obscure ~ not clearly expressed or easily understood.
category: technology
remote-image: https://imgs.xkcd.com/comics/standards.png
image-attrib: xkcd
image-attrib-url: https://xkcd.com/927
image-alt: A comic showing first situation w/ 14 competing standards, then two people saying they need to create a universal standard, which resulted to 15 competing standards in the end.
---
Last year, around November 2022, the first wave of [#TwitterMigration](https://social.ayco.io/tags/twittermigration) happened and, even though there were mixed reactions online about it, I would still say it started a massive *awakening* that raised people's awareness on free and open software alternatives out there.
1. mastodon
1. sourcehut
1. VPS (nginx)
1. webmention.io
1. brid.gy
1. lists.sh