make peace with jekyll-seo-tag

This commit is contained in:
Aminda Suomalainen 2024-06-02 20:32:07 +03:00
parent 7a027a1299
commit b30efd9d2a
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 43 additions and 17 deletions

1
Gemfile vendored
View File

@ -10,5 +10,6 @@ gem "jekyll-feed"
gem "jekyll-mentions"
gem "jekyll-redirect-from"
gem "jekyll-sitemap"
gem "jekyll-seo-tag"
# Required for `bundle exec jekyll serve`
gem "webrick"

13
Gemfile.lock generated
View File

@ -23,7 +23,17 @@ GEM
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.16.3)
ffi (1.17.0)
ffi (1.17.0-aarch64-linux-gnu)
ffi (1.17.0-aarch64-linux-musl)
ffi (1.17.0-arm-linux-gnu)
ffi (1.17.0-arm-linux-musl)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86-linux-gnu)
ffi (1.17.0-x86-linux-musl)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
ffi (1.17.0-x86_64-linux-musl)
forwardable-extended (2.6.0)
google-protobuf (4.27.0)
bigdecimal
@ -207,6 +217,7 @@ DEPENDENCIES
jekyll-feed
jekyll-mentions
jekyll-redirect-from
jekyll-seo-tag
jekyll-sitemap
minima
webrick

View File

@ -1,6 +1,10 @@
# Site settings
title: Aminda Suomalainen ⚧︎
author: <div lang="fi"><a href="https://aminda.eu">Aminda Suomalainen &#9895;&#65038;</a></a></div>
author:
name: Aminda Suomalainen ⚧︎
url: https://aminda.eu/
# Jekyll seo, appended after title
tagline: Aminda Suomalainen ⚧︎
description: > # this means to ignore newlines until "baseurl:"
I am a Highly Sensitive Autistic Pirate with Linux experience since 2008. I am familiar with git and looking for employment. &#9895;&#65038;
<br/><br/><em lang="en">This website is licensed under the
@ -26,9 +30,28 @@ rss: Blog
keybase_username: Mikaela
telegram_username: AmindaEU
# Jekyll SEO will handle these
webmaster_verifications:
google: oELGPuQ0VNEekDke964c0XCMYaC_Nd_Mr_TRYEVRXgY
bing: DDF472BEC8E65C680D65A24256C33B24
yandex: 2d5398c328c66322
# Jekyll SEO as well
defaults:
- scope:
path: ""
values:
image: https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/lfs-media/avatar/250.jpeg
# No, these aren't Jekyll SEO
#avatar: https://bafybeian33l6hrvjoapve7dxbghs2ej4zeya2cgoldrqo3tm5id7tj6uey.ipfs.dweb.link/250.jpeg
avatar: https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/lfs-media/avatar/250.jpeg
#icon: https://bafybeian33l6hrvjoapve7dxbghs2ej4zeya2cgoldrqo3tm5id7tj6uey.ipfs.dweb.link/128.jpeg
icon: https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/lfs-media/avatar/90.jpeg
# The content is mostly in English and this is just the last fallback. I try
# to specify it on every new page though.
# to specify it on every new page though. Jekyll SEO also uses locale
lang: en
locale: en
# Build settings
markdown: kramdown
@ -61,6 +84,7 @@ plugins:
- jekyll-mentions
- jekyll-redirect-from
- jekyll-sitemap
- jekyll-seo-tag
sitemap:
file: "/sitemap.xml"
# Technically this should be keep_files, but it makes at least .well-known
@ -86,11 +110,6 @@ exclude:
# about have upgraded. Otherwise this is based on my discretion.
matrixLatestRoomVersion: 11
#avatar: https://bafybeian33l6hrvjoapve7dxbghs2ej4zeya2cgoldrqo3tm5id7tj6uey.ipfs.dweb.link/250.jpeg
avatar: https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/lfs-media/avatar/250.jpeg
#icon: https://bafybeian33l6hrvjoapve7dxbghs2ej4zeya2cgoldrqo3tm5id7tj6uey.ipfs.dweb.link/128.jpeg
icon: https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/lfs-media/avatar/90.jpeg
# {{site.ipfsGateway}}/ipfs/IPFSHASHHERE to get ipfs link via gateway.
# Hopefully future proof letting me simply swap the link here instead of
# changing it everywhere.

13
_includes/head.html vendored
View File

@ -2,19 +2,19 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!---->
{%- seo -%}
<!---->
<meta name="robots" content="nofollow">
<meta name="robots" content="max-snippet:-1, max-image-preview:large, max-video-preview:-1">
<meta name="robots" content="{% if page.robots %}{{ page.robots }} {% else %}{{ site.robots | default: 'nofollow' }}{% endif %}">
<meta name="msvalidate.01" content="DDF472BEC8E65C680D65A24256C33B24">
<link rel="icon prefetch" href="{{site.icon}}">
<title>{% if page.title %}{{ page.title }} ~~ {{ site.title | strip_html }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | strip_html | strip_newlines }}{% endif %}">
<link rel="me prefetch" href="{{ site.url }}">
<link rel="openid.delegate" href="https://aminda.eu/">
<link rel="openid.server" href="https://openid.indieauth.com/openid">
<link rel="stylesheet prefetch" href="{{ "/assets/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/blog/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - in English" href="{{ "/blog/feed.en.xml" | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - Suomeksi" href="{{ "/blog/feed.fi.xml" | prepend: site.baseurl | prepend: site.url }}">
@ -23,11 +23,6 @@
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta http-equiv="x-dns-prefetch-control" content="off">
<meta name="referrer" content="no-referrer">
<!-- OpenGraph -->
<meta name="og:title" content="{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}">
<meta name="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | strip_html | strip_newlines }}{% endif %}">
<meta name="og:site_name" content="{{site.title}}">
<meta name="og:image" content="{{site.icon}}">
<!-- https://indieweb.org/How_to_set_up_web_sign-in_on_your_own_domain#How_to_setup_RelMeAuth - regardless of antipattern, the things I do for verified checkboxes at Mastodon... -->
<link rel="me" type="application/activity+json" href="https://sauna.social/users/aminda">
<link rel="me" type="application/activity+json" href="https://mastodon.pirateparty.be/users/MikaelaPPFI">