initial enabling of hyphenation and languages

This commit is contained in:
Aminda Suomalainen 2024-05-30 08:18:20 +03:00
parent 309832d60e
commit 5845427d38
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
7 changed files with 16 additions and 9 deletions

View File

@ -57,7 +57,7 @@ repos:
[
--update-only,
--title,
"_Automaattinen sisällysluettelo - Automatically generated Table of Contents_",
'<em lang="fi">Automaattinen sisällysluettelo</em> / <em lang="en">Automatically generated Table of Contents</em>',
]
- repo: https://github.com/python-jsonschema/check-jsonschema

View File

@ -1,4 +1,5 @@
# Prettier cannot handle Jekyll variables?
_includes
_layouts
blog/*.xml
*.json

View File

@ -1,10 +1,11 @@
# Site settings
title: Aminda Suomalainen ⚧
author: <div lang="fi"><a href="https://aminda.eu">Aminda Suomalainen ⚧</a></a>
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. ⚧
<br/><br/>*This website is licensed under the
[Creative Commons Attribution 4.0 International License.](https://creativecommons.org/licenses/by/4.0/)
by [Aminda Suomalainen](https://aminda.eu/).*
<div lang="en">I am a Highly Sensitive Autistic Pirate with Linux experience since 2008. I am familiar with git and looking for employment. ⚧
<br/><br/><em>This website is licensed under the
<a href="(https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>
by <a href="https://aminda.eu">Aminda Suomalainen</a>.</em></div>
baseurl: "" # the subpath of your site, e.g. /blog/
# I would like to use www subdomain to not have all cookies passed to top
# level, but there seems to be a redirect issue otherwise.
@ -22,6 +23,9 @@ rss: Blog
keybase_username: Mikaela
telegram_username: AmindaEU
# Sadly the content is mostly in English and this is just the last fallback
lang: en
# Build settings
markdown: kramdown
theme: minima

View File

@ -1,5 +1,6 @@
<!doctype html>
<html>
<html lang="{{ page.lang | default: site.lang | default: "" }}">
{% include head.html %}
<body>

2
_layouts/index.html vendored
View File

@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="{{ page.lang | default: site.lang | default: "" }}">
{% include head.html %}
<body>

2
_layouts/mini.html vendored
View File

@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="{{ page.lang | default: site.lang | default: "" }}">
{% include head.html %}
<body>
<div class="page-content">

View File

@ -23,6 +23,7 @@ $monospace-font-family: "Liberation Mono", "Cousine", "Courier New", monospace;
* {
color: revert !important;
overflow-wrap: break-word !important;
hyphens: auto !important;
}
a {