From b30efd9d2a3fe22200a699fe8898106cd4497467 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 2 Jun 2024 20:32:07 +0300 Subject: [PATCH] make peace with jekyll-seo-tag --- Gemfile | 1 + Gemfile.lock | 13 ++++++++++++- _config.yml | 33 ++++++++++++++++++++++++++------- _includes/head.html | 13 ++++--------- 4 files changed, 43 insertions(+), 17 deletions(-) diff --git a/Gemfile b/Gemfile index b310e23..b142d25 100644 --- a/Gemfile +++ b/Gemfile @@ -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" diff --git a/Gemfile.lock b/Gemfile.lock index edf71f4..430ea1f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 diff --git a/_config.yml b/_config.yml index 996ae85..200e33a 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,10 @@ # Site settings title: Aminda Suomalainen ⚧︎ -author:
Aminda Suomalainen ⚧︎
+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. ⚧︎

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. diff --git a/_includes/head.html b/_includes/head.html index 015dafd..a37fd28 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -2,19 +2,19 @@ + + {%- seo -%} + + - {% if page.title %}{{ page.title }} ~~ {{ site.title | strip_html }}{% else %}{{ site.title }}{% endif %} - - - @@ -23,11 +23,6 @@ - - - - -