1
1
mirror of https://github.com/xplosionmind/quitsocialmedia.club.git synced 2025-01-20 19:28:26 +01:00
This commit is contained in:
Tommi 2020-12-31 20:03:57 +01:00
parent a30e9b0fe3
commit 689b1ad4e5
128 changed files with 3042 additions and 1839 deletions

34
.gitignore vendored
View File

@ -1,34 +0,0 @@
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata
# Ignore ruby files
.ruby-version
.bundle
vendor
# Numerous always-ignore extensions
*.diff
*.err
*.log
*.orig
*.rej
*.swo
*.swp
*.vi
*~
# OS or Editor folders
._*
.cache
.DS_Store
.idea
.project
.settings
.tmproj
.publish
*.esproj
nbproject
Thumbs.db
.vscode

View File

@ -1,34 +1,11 @@
---
permalink: /404.html
layout: none
layout: full
sitemap: false
title: "404"
link: "/home"
image: "https://assets.tommi.space/logos/404.jpg"
---
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="UTF-8">
<link href="/style.css" type="text/css" rel="stylesheet" />
<title>404 | XPLOSIONMIND</title>
<style>
h1, a, .container, #intro {
text-align: center;
color: var(--white);
}
#landing h1 {
font-size: 8rem;
margin: 0;
}
pre {
margin: 0 auto;
}
</style>
</head>
<body>
<a class="container" href="/home">
<div id="landing">
<h1>404</h1>
<br /><pre>page not found. Click anywhere to go back</pre>
</div>
</a>
</body>
</html>
Page not found.
Click anywhere to go back home.
{:.center}

42
Gemfile
View File

@ -8,20 +8,48 @@ source "https://rubygems.org"
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll"
# Add Liquid-C for faster rendering of Liquid
gem "liquid-c"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "webrick"
gem "jekyll-feed"
gem "jekyll-seo-tag"
gem "jekyll-sitemap"
gem "jekyll-last-modified-at"
gem "jekyll-target-blank"
end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
gem "tzinfo"
gem "tzinfo-data"
gem "jekyll-watch"
gem "jekyll-redirect-from"
gem "jekyll-email-protect"
gem "jekyll-datapage-generator"
gem "jekyll-debug"
gem "jekyll-mentions"
gem "jekyll-liquify"
gem "jekyll-auto-image"
gem "html-proofer"
# gem "jekyll-admin"
# gem "jekyll-optional-front-matter"
# gem "jekyll-paginate"
# gem "jekyll-paginate-v2"
# gem "jekyll-archives"
# gem "jekyll-youtube"
# gem "jekyll-spaceship"
# gem "jekyll-pdf-embed"
# gem "jekyll-giphy"
# gem "jekyll-timeago"
# gem "liquid_pluralize"
# gem "liquid_reading_time"
# gem "jekyll-gist"
# gem "jekyll-twitter-plugin"
# gem "jekyll-news-sitemap"
# gem "jekyll-git_metadata"
# gem "jekyll-auto-image"
# gem "jekyll-tagging"
# gem "jekyll-auto-image"
# gem "premonition"
end

View File

@ -1,40 +1,79 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.1.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
coderay (1.1.3)
colorator (1.1.0)
concurrent-ruby (1.1.7)
em-websocket (0.5.1)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
ethon (0.12.0)
ffi (>= 1.3.0)
eventmachine (1.2.7)
ffi (1.13.1)
ffi (1.14.2)
forwardable-extended (2.6.0)
html-pipeline (2.14.0)
activesupport (>= 2)
nokogiri (>= 1.4)
html-proofer (3.18.3)
addressable (~> 2.3)
mercenary (~> 0.3)
nokogumbo (~> 2.0)
parallel (~> 1.3)
rainbow (~> 3.0)
typhoeus (~> 1.3)
yell (~> 2.0)
http_parser.rb (0.6.0)
i18n (1.8.5)
concurrent-ruby (~> 1.0)
jekyll (4.1.1)
jekyll (4.2.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.1)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-feed (0.15.0)
terminal-table (~> 2.0)
jekyll-auto-image (1.1.3)
jekyll
jekyll-datapage-generator (1.3.0)
jekyll-debug (0.0.2)
liquid (>= 2.5, < 5.0)
pry (~> 0.10)
rb-readline (~> 0.5)
jekyll-email-protect (1.1.0)
jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0)
jekyll-last-modified-at (1.3.0)
jekyll (>= 3.7, < 5.0)
posix-spawn (~> 0.3.9)
jekyll-liquify (0.0.2)
liquid (>= 2.5, < 5.0)
redcarpet (~> 3.1)
jekyll-mentions (1.6.0)
html-pipeline (~> 2.3)
jekyll (>= 3.7, < 5.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-seo-tag (2.7.1)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-target-blank (2.0.0)
@ -47,43 +86,70 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.1)
liquid-c (4.0.0)
liquid (>= 3.0.0)
listen (3.3.3)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
method_source (1.0.0)
mini_portile2 (2.4.0)
minitest (5.14.2)
nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
nokogumbo (2.0.4)
nokogiri (~> 1.8, >= 1.8.4)
parallel (1.20.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
posix-spawn (0.3.15)
pry (0.13.1)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (4.0.6)
rainbow (3.0.0)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
rb-readline (0.5.5)
redcarpet (3.5.1)
rexml (3.2.4)
rouge (3.23.0)
rouge (3.26.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (1.8.0)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
tzinfo (2.0.2)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2020.1)
tzinfo (>= 1.0.0)
unicode-display_width (1.7.0)
webrick (1.7.0)
yell (2.2.2)
zeitwerk (2.4.2)
PLATFORMS
ruby
DEPENDENCIES
html-proofer
jekyll
jekyll-auto-image
jekyll-datapage-generator
jekyll-debug
jekyll-email-protect
jekyll-feed
jekyll-last-modified-at
jekyll-liquify
jekyll-mentions
jekyll-redirect-from
jekyll-seo-tag
jekyll-sitemap
jekyll-target-blank
tzinfo
tzinfo-data
jekyll-watch
liquid-c
webrick
BUNDLED WITH
2.1.4
2.2.3

View File

@ -1,5 +1,9 @@
[![Netlify Status](https://api.netlify.com/api/v1/badges/c5a2f8f0-e22a-4ae4-82e4-bcdea06adf7c/deploy-status)](https://app.netlify.com/sites/quirky-gates-75f190/deploys)
[![Netlify Status](https://api.netlify.com/api/v1/badges/c5a2f8f0-e22a-4ae4-82e4-bcdea06adf7c/deploy-status)](https://app.netlify.com/sites/quit-social-media/deploys) | [![LiberaPay Patrons](https://img.shields.io/liberapay/patrons/tommi.svg?logo=liberapay")](https://liberapay.com/tommi/) | [![Awesome Humane Tech badge](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://www.humanetech.com/)
# QUIT SOCIAL MEDIA
# Quit Social Media
Notes are [here](./pages/notes), roadmap is [here](./pages/roadmap)
Notes are [here](https://tommi.space/qsm), roadmap is [here](./pages/roadmap)
## Contribution
This project warmly welcomes any contributor or supporter. Please visit the [contribution page](/contribute).

View File

@ -1,3 +1 @@
# Security Policy
Actually this should be just a basic static website. No tracking, no annoying stuff, no possible security breaches. Nevertheless, there's a tiny little part of back-end cloud computing if you subscribe to the newsletter. If you encounter any problem in this process, please send an email to tommiboom+website at protonmail dot com.
This website has no tracking, no ads, no analytics, no annoying stuff, therefore no possible security breaches. Nevertheless, there's a tiny little part of back-end cloud computing if you subscribe to the newsletter. If you encounter any problem in this process, please send an email to [security@quitsocialmedia.club](mailto:security@quitsocialmedia.club).

View File

@ -1,50 +1,72 @@
title: "Quit Social Media"
email: tommiboom@protonmail.com
title: Quit Social Media
email: hi@quitsocialmedia.club
description: >- # this means to ignore newlines until "baseurl:"
Enjoying the internet and social life independently from big intrusive and addictive platforms
Whys and hows about quitting Social Media
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://quitsocialmedia.club" # the base hostname & protocol for your site, e.g. http://example.com
author: Tommi
publisher: Tommi
twitter_username: xplosionmind
github_username: xplosionmind
git_repository: "quit-social-media"
git_repository: "quitsocialmedia.club"
future: true
profile: true
livereload: true
strict_front_matter: true
images: "https://assets.tommi.space/images"
post-images: "https://assets.tommi.space/images/posts"
assets: "https://assets.tommi.space/assets"
video: "https://assets.tommi.space/video"
audio: "https://assets.tommi.space/audio"
logos: "https://assets.tommi.space/logos"
fonts: "https://assets.tommi.space/fonts"
exclude:
- riordinare/
keep_files:
- images/
- assets/
collections:
posts:
excerpt_separator: "<!--more-->"
levels:
output: false
social:
name: xplosionmind
tagline: "Living a healthier life on the web"
twitter:
username: xplosionmind
card: summary
plugins:
- jekyll-feed
- jekyll-seo-tag
- jekyll-sitemap
- jekyll-last-modified-at
- jekyll-target-blank
- jekyll-watch
- jekyll-redirect-from
- jekyll-debug
- jekyll-watch
- jekyll-email-protect
sass:
style: compressed
permalink: "/:title"
ref: ":title"
style: compressed
permalink: /:title
defaults:
-
scope:
path: ""
values:
layout: "wrapper"
ref: ":title"
lang: "en"
img: "/images/preview.gif"
primary: "#FCC920"
comments: true
-
scope:
path: ""
type: "posts"
type: levels
values:
layout: "post"
lang: "it"
permalink: "/:title"
excerpt_separator: "<!--more-->"
layout: level
lang: en
permalink: /:title
hide: 0

15
_data/resources.csv Normal file
View File

@ -0,0 +1,15 @@
name,link,lang,where,video,article,book,website,other
Ten Arguments for Deleting Your Social Media Accounts,http://jaronlanier.com/tenarguments.html,en,,0,0,1,0,0
What is Free Software,https://fsfe.org/freesoftware/freesoftware.en.html,en,,0,1,0,0,0
Cos'è il Software Libero,https://fsfe.org/freesoftware/freesoftware.it.html,it,,0,1,0,0,0
AlternativeTo,https://alternativeto.net/,en,,0,0,0,1,0
Switching Software,https://switching.software/,en,,0,0,0,1,0
PrivacyTools,https://privacytools.io/,en,,0,0,0,1,0
PrivacyTools,https://privacytools-it.github.io/,it,,0,0,0,1,0
Tommi's website,https://tommi.space,it,/about,0,0,0,1,0
Intervista a Jaron Lanier - Il Tascabile,https://www.iltascabile.com/scienze/intervista-lanier/,it,,0,1,0,0,0
,,,,0,0,0,0,0
,,,,0,0,0,0,0
,,,,0,0,0,0,0
,,,,0,0,0,0,0
,,,,0,0,0,0,0
1 name link lang where video article book website other
2 Ten Arguments for Deleting Your Social Media Accounts http://jaronlanier.com/tenarguments.html en 0 0 1 0 0
3 What is Free Software https://fsfe.org/freesoftware/freesoftware.en.html en 0 1 0 0 0
4 Cos'è il Software Libero https://fsfe.org/freesoftware/freesoftware.it.html it 0 1 0 0 0
5 AlternativeTo https://alternativeto.net/ en 0 0 0 1 0
6 Switching Software https://switching.software/ en 0 0 0 1 0
7 PrivacyTools https://privacytools.io/ en 0 0 0 1 0
8 PrivacyTools https://privacytools-it.github.io/ it 0 0 0 1 0
9 Tommi's website https://tommi.space it /about 0 0 0 1 0
10 Intervista a Jaron Lanier - Il Tascabile https://www.iltascabile.com/scienze/intervista-lanier/ it 0 1 0 0 0
11 0 0 0 0 0
12 0 0 0 0 0
13 0 0 0 0 0
14 0 0 0 0 0
15 0 0 0 0 0

45
_includes/about.html Normal file
View File

@ -0,0 +1,45 @@
<div class="h-card stuff row" id="about">
<a href="{% if page.lang == 'it' %}/about-it{% else %}/about{% endif %}"><h2 class="title">{% if page.lang == 'it' %}Chi è questo tipo{% else %}About this weirdo{% endif %}</h2></a>
<div class="half column">
<img class="u-photo" src="{{ site.author.picture }}" alt="a photo of me conducting a live show" title="Tommi on stage conducting a live show">
</div>
<div class="half column">
{% if page.lang == 'it' %}
<p>Mi chiamo <span class="p-name">Tommi</span>,</p>
<p>è possibile vedermi campeggiare sul pianeta Terra ma sono perennemente in viaggio in una dimensione parallela dominata dall'entusiasmo, dalla curiosità e dalla confusione.</p>
<p>Mi capita spesso di perdermi, ma mi muovo continuamente (in tutti i sensi) per conoscere nuove persone e scoprire le loro storie. Il mio ipercinetismo rende un allegro individuo perennemente saltellante, talvolta insopportabile. Finora, come scrive il sommo <a href="https://it.wikipedia.org/wiki/Gottfried_Wilhelm_von_Leibniz" rel="noopener noreferrer" target="_blank" title="Leibniz su Wikipedia">Leibniz</a>, <q cite="Gottfried Wilhelm von Leibniz">nella mia vita ho cominciato tutto e concluso nulla</q>.</p>
<p>Lo ammetto, non sono bravo a rispondere alla domanda “chi sei”, ma, diciamocelo, nessuno ne è davvero capace. Chi sono veramente lo raccontano i miei “<a href="/zibaldone" title="Zibaldone - tommi.space">articoli</a>”, <a href="/ora" title="Now page - tommi.space">quello che sto facendo ora</a> e tutto <a href="/cose">quello che faccio nella vita</a>. Tuttavia, per capire meglio il caos che regna nella mia testa, di cui questo sito è la rappresentazione virtuale, bisogna assaggiare <a href="/marmellata"><em>La Marmellata</em></a>.</p>
<p>Cose pratiche utili:
<ul>
<li>il mio <a class="u-url" href="https://europa.eu/!md89Vg" rel="noopener noreferrer" target="blank" title="Curriculum Vitae di Tommaso Marmo su Europass">Curriculum Vitae</a> e il mio <a a="u-url" href="https://www.linkedin.com/in/tommasomarmo/" rel="noopener noreferrer" target="_blank" title="Tommaso Marmo su Linkedin">profilo Linkedin</a></li>
<li>Il mio<a class="u-email" href="mailto:{{ site.email | encode_email }}" rel="me" title="Scrivimi un'email">indirizzo email</a>. Se possibile, utilizzate la mia <a class="u-key" href="https://api.protonmail.ch/pks/lookup?op=get&search={{ site.email }}" target="_blank" rel="pgpkey authn">chiave PGP</a> (non è necessaria se utilizzate un indirizzo email con <a href="https://protonmail.com" rel="noopener noreferrer" target="_blank" title="Sito web di ProtonMail">ProtonMail</a>)</li>
<li>il mio username è <code class="p-nickname">xplosionmind</code> ovunque.</li>
</ul>
</p>
{% else %}
<p>Hi, Im <span class="p-name">Tommi</span>.</p>
<p>Im an <span class="p-category p-label">enthusiast</span>. I love getting involved in everything which involves human interactions and Im overthinking addicted. Im an happy guy, but this doesnt mean I dont cry (just make me watch the right movie).</p>
<p><span class="p-note">The purpose of my whole exsistence is meeting all the people in the world</span>. This is why, When Im not studying, I try to be as busy as I can. This means, as the great <a href="https://en.wikipedia.org/wiki/Gottfried_Wilhelm_Leibniz" rel="noopener noreferrer" target="_blank" title="Leibniz on Wikipedia">Leibnitz</a> said, that <q cite="Gottfried Wilhelm von Leibniz">in my life I started everything and concluded nothing</q>. You can know more about something of this messy everything by browsing around. If the stuff here is too confused and you get lost, well… welcome to my mind.</p>
<p>Things that wander around in my head are written on my <a href="/blog" target="_blank">blog</a> or they are thrown in <a href="/jar" target="_blank" title="The Jar - tommi.space"><em>The Jar</em></a>.</p>
<p>Some useful data:
<ul>
<li>my <a class="u-url" href="https://www.linkedin.com/in/tommasomarmo/" rel="noopener noreferrer" target="_blank" title="Tommaso Marmo su Linkedin">Linkedin profile</a> and my <a class="u-url" href="https://europa.eu/!xG43Xd" rel="noopener noreferrer" target="_blank">Curriculum Vitae</a></li>
<li>you can <a class="u-email" href="mailto:{{ site.email | encode_email }}" rel="me" title="Write me an email">write me an email</a>. If possible, please use my <a class="u-key" href="https://api.protonmail.ch/pks/lookup?op=get&search={{ site.email }}" target="_blank" rel="pgpkey authn">PGP key</a> (its not necessary if you use a <a href="https://protonmail.com" rel="noopener noreferrer" target="_blank" title="ProtonMail website">ProtonMail</a> address)</li>
<li>my username is <code class="p-nickname">xplosionmind</code> everywhere. If you cant find it, Im not there.</li>
</ul>
</p>
{% endif %}
</div>
</div>

View File

@ -1,35 +1,8 @@
{% capture headingsWorkspace %}
{% comment %}
Version 1.0.6
https://github.com/allejo/jekyll-anchor-headings
"Be the pull request you wish to see in the world." ~Ben Balter
Usage:
{% include anchor_headings.html html=content %}
Parameters:
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
Optional Parameters:
* beforeHeading (bool) : false - Set to true if the anchor should be placed _before_ the heading's content
* anchorAttrs (string) : '' - Any custom HTML attributes that will be added to the `<a>` tag; you may NOT use `href`, `class` or `title`;
the `%heading%` placeholder is available
* anchorBody (string) : '' - The content that will be placed inside the anchor; the `%heading%` placeholder is available
* anchorClass (string) : '' - The class(es) that will be used for each anchor. Separate multiple classes with a space
* anchorTitle (string) : '' - The `title` attribute that will be used for anchors
* h_min (int) : 1 - The minimum header level to build an anchor for; any header lower than this value will be ignored
* h_max (int) : 6 - The maximum header level to build an anchor for; any header greater than this value will be ignored
* bodyPrefix (string) : '' - Anything that should be inserted inside of the heading tag _before_ its anchor and content
* bodySuffix (string) : '' - Anything that should be inserted inside of the heading tag _after_ its anchor and content
Output:
The original HTML with the addition of anchors inside of all of the h1-h6 headings.
{% endcomment %}
{% assign minHeader = include.h_min | default: 1 %}
{% assign maxHeader = include.h_max | default: 6 %}
{% assign beforeHeading = include.beforeHeading %}
{% assign minHeader = 2 %}
{% assign maxHeader = 6 %}
{% assign beforeHeading = 1 %}
{% assign nodes = include.html | split: '<h' %}
{% capture edited_headings %}{% endcapture %}
@ -58,7 +31,8 @@
{% continue %}
{% endif %}
{% assign _workspace = node | split: '</h' %}
{% capture _closingTag %}</h{{ headerLevel }}>{% endcapture %}
{% assign _workspace = node | split: _closingTag %}
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
{% assign html_id = _idWorkspace[0] %}
@ -70,21 +44,24 @@
{% capture anchor %}{% endcapture %}
{% if html_id and headerLevel >= minHeader and headerLevel <= maxHeader %}
{% if include.headerAttrs %}
{% capture _hAttrToStrip %}{{ _hAttrToStrip | split: '>' | first }} {{ include.headerAttrs | replace: '%heading%', header | replace: '%html_id%', html_id }}>{% endcapture %}
{% endif %}
{% capture anchor %}href="#{{ html_id }}"{% endcapture %}
{% if include.anchorClass %}
{% capture anchor %}{{ anchor }} class="{{ include.anchorClass }}"{% endcapture %}
{% endif %}
{% if include.anchorTitle %}
{% capture anchor %}{{ anchor }} title="{{ include.anchorTitle | replace: '%heading%', header }}"{% endcapture %}
{% endif %}
{% capture anchor %}{{ anchor }} title="{{ header }}"{% endcapture %}
{% if include.anchorAttrs %}
{% capture anchor %}{{ anchor }} {{ include.anchorAttrs | replace: '%heading%', header }}{% endcapture %}
{% capture anchor %}{{ anchor }} {{ include.anchorAttrs | replace: '%heading%', header | replace: '%html_id%', html_id }}{% endcapture %}
{% endif %}
{% capture anchor %}<a {{ anchor }}>{{ include.anchorBody | replace: '%heading%', header | default: '' }}</a>{% endcapture %}
{% capture anchor %}<a {{ anchor }}>{{ '<svg class="anchor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.29 9.29l-4 4a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l4-4a1 1 0 0 0-1.42-1.42z" fill="var(--text)"/><path d="M12.28 17.4L11 18.67a4.2 4.2 0 0 1-5.58.4 4 4 0 0 1-.27-5.93l1.42-1.43a1 1 0 0 0 0-1.42 1 1 0 0 0-1.42 0l-1.27 1.28a6.15 6.15 0 0 0-.67 8.07 6.06 6.06 0 0 0 9.07.6l1.42-1.42a1 1 0 0 0-1.42-1.42z" fill="var(--text)"/><path d="M19.66 3.22a6.18 6.18 0 0 0-8.13.68L10.45 5a1.09 1.09 0 0 0-.17 1.61 1 1 0 0 0 1.42 0L13 5.3a4.17 4.17 0 0 1 5.57-.4 4 4 0 0 1 .27 5.95l-1.42 1.43a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l1.42-1.42a6.06 6.06 0 0 0-.6-9.06z" fill="var(--text)"/></svg>
' | replace: '%heading%', header | default: '' }}</a>{% endcapture %}
<!-- In order to prevent adding extra space after a heading, we'll let the 'anchor' value contain it -->
{% if beforeHeading %}
@ -103,8 +80,17 @@
{{ header }}{{ anchor }}
{% endif %}
{{ include.bodySuffix }}
</h{{ _workspace | last }}
</h{{ headerLevel }}>
{% endcapture %}
<!--
If we have content after the `</hX>` tag, then we'll want to append that here so we don't lost any content.
-->
{% assign chunkCount = _workspace | size %}
{% if chunkCount > 1 %}
{% capture new_heading %}{{ new_heading }}{{ _workspace | last }}{% endcapture %}
{% endif %}
{% capture edited_headings %}{{ edited_headings }}{{ new_heading }}{% endcapture %}
{% endfor %}
{% endcapture %}{% assign headingsWorkspace = '' %}{{ edited_headings | strip }}

90
_includes/backlinks.html Normal file
View File

@ -0,0 +1,90 @@
<div class="box" id="backlinks">
<h2>Backlinks</h2>
<p class="center">
{% if page.lang == 'it' %}
Le pagine del sito che contengono un link a questa pagina.<br />
Curioso riguardo cosa voglia dire? Leggi <a href="https://www.wikiwand.com/it/Backlink" rel="noopener noreferrer" target="_blank">questo articolo</a>.
{% else %}
All the pages of this website containing a link to the current page.<br />Curious about what this means? Check <a href="https://www.wikiwand.com/en/Backlink" rel="noopener noreferrer" target="_blank">this article</a>.
{% endif %}
</p>
<ul>
{% comment %}+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ +
+ 100% Liquid backlinks parser based on pages permalinks. +
+ +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++{% endcomment %}
{% capture current_url %}{{ page.url }}{% endcapture %}
{% capture current_url_downcase %}{{ page.url | downcase }}{% endcapture %}
{% for entry in site.pages %}
{% unless entry.url contains '.json' or entry.url contains '.csv' or entry.url contains '.css' or entry contains '.txt' %}
{% if entry.content contains page.url or entry.content contains current_url_downcase %}
<li>
<a href="{{ entry.url }}">{{ entry.title }}</a>
{% if entry.description %}
- {{ entry.description }}
{% else %}
- {{ entry.excerpt | strip_html | truncatewords: 30 }}
{% endif %}
</li>
{% endif %}
{% for redirect in page.redirect_from | split '/' %}
{% capture redirect_ %}/{{ redirect }}{% endcapture %}
{% if entry.content contains redirect_ %}
<li>
<a href="{{ entry.url }}">{{ entry.title }}</a>
{% if entry.description %}
- {{ entry.description }}
{% else %}
- {{ entry.excerpt | strip_html | truncatewords: 30 }}
{% endif %}
</li>
{% endif %}
{% endfor %}
{% endunless %}
{% endfor %}
{% for collection in site.collections %}
{% assign collection_name = collection.label %}
{% for entry in site.[collection_name] %}
{% if entry.content contains page.url or entry.content contains current_url_downcase %}
{% case collection_name %}
{% when 'jar' %}
<li>🍯 <a href="{{ entry.url }}">{{ entry.title }}</a> - {% if entry.description %}{{ entry.description }}{% else %}{{ entry.excerpt | strip_html | truncatewords: 30 }}{% endif %}</li>
{% when 'sconnesso' %}
<li>🎙️ <a href="{{ entry.url }}">{{ entry.title }}</a></li>
{% when 'posts' %}
<li>📖 <a href="{{ entry.url }}">{{ entry.title }}</a></li>
{% when 'filinge' %}
<li>💭 <a href="{{ entry.url }}">{{ entry.title }}</a></li>
{% else %}
<li><a href="{{ entry.url }}">{{ entry.title }}</a> - {{ entry.excerpt | strip_html | truncatewords: 30 }}</li>
{% endcase %}
{% endif %}
{% for redirect in page.redirect_from | split '/' %}
{% capture redirect_ %}/{{ redirect }}{% endcapture %}
{% if entry.content contains redirect_ %}
{% case collection_name %}
{% when 'jar' %}
<li>🍯 <a href="{{ entry.url }}">{{ entry.title }}</a> - {% if entry.description %}{{ entry.description }}{% else %}{{ entry.excerpt | strip_html | truncatewords: 30 }}{% endif %}</li>
{% when 'sconnesso' %}
<li>🎙️ <a href="{{ entry.url }}">{{ entry.title }}</a></li>
{% when 'posts' %}
<li>📖 <a href="{{ entry.url }}">{{ entry.title }}</a></li>
{% when 'filinge' %}
<li>💭 <a href="{{ entry.url }}">{{ entry.title }}</a></li>
{% else %}
<li><a href="{{ entry.url }}">{{ entry.title }}</a> - {{ entry.description }}</li>
{% endcase %}
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
</ul>
</div>

3
_includes/banner.html Normal file
View File

@ -0,0 +1,3 @@
<div class="red mobile banner box">
{% if page.lang == 'it' %}Lo so, il tasto per aprire il menu non funziona. Purtroppo è un problema piuttosto complicato da risolvere per me, ci metterò un po' a capire come fare. Intanto, in alternativa, potete usare la <a href="https://www.iphoneitalia.com/visualizzare-sito-desktop-iphone" rel="noopener noreferrer" target="_blank">modalità desktop</a>.{% else %}I know, the menu button ain't working. I'll fix this ASAP, in the meanwhile try using desktop mode.{% endif %}
</div>

16
_includes/comments.html Normal file
View File

@ -0,0 +1,16 @@
{% unless page.comments == false %}
<div class="u-comment row">
<div id="comments" class="box">
<h2 class="title">{% case page.lang %}{% when 'it' %}Commenti{% else %}Comments{% endcase %}</h2>
<script src="https://utteranc.es/client.js"
repo="xplosionmind/tommi.space"
issue-term="title"
label="comment"
theme="github-dark"
crossorigin="anonymous"
async>
</script>
</div>
</div>
</div>
{% endunless %}

10
_includes/draft.html Normal file
View File

@ -0,0 +1,10 @@
<div class="one column row">
<div class="banner red box">
<h3>🚧 {% if page.lang == 'it' %}Lavori in corso{% else %}Work in progress{% endif %} 🏗</h3>
{% if page.lang == 'it' %}
Il contenuto di questa pagina non è completo; tutti gli articoli e le note in sospeso sono contraddistinte dal tag <a href="/tags#draft" title="tutte le bozze"><em>draft</em></a>
{% else %}
Content of this page is not complete: unfinished notes and articles are tagged with <a href="/tags#draft" title="all of the pages tagged “draft”"><em>draft</em></a> tag
{% endif %}
</div>
</div>

3