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, --update-only,
--title, --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 - repo: https://github.com/python-jsonschema/check-jsonschema

View File

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

View File

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

View File

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

4
_layouts/index.html vendored
View File

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

2
_layouts/mini.html vendored
View File

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

View File

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