mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-08-17 18:37:24 +02:00
Compare commits
7 Commits
834e0eb582
...
c279e2b51a
Author | SHA1 | Date | |
---|---|---|---|
c279e2b51a | |||
d1ba945ee8 | |||
ef265e9d6b | |||
953ce43e30 | |||
b5dde24de9 | |||
41533ef82e | |||
dd61149a0e |
@ -1,4 +1,4 @@
|
||||
{
|
||||
"plugins": ["@prettier/plugin-xml"],
|
||||
"plugins": ["@prettier/plugin-xml", "prettier-plugin-sh"],
|
||||
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
|
||||
}
|
||||
|
16
Gemfile.lock
generated
16
Gemfile.lock
generated
@ -1,7 +1,7 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
activesupport (7.1.3.3)
|
||||
activesupport (7.1.3.4)
|
||||
base64
|
||||
bigdecimal
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
@ -16,7 +16,7 @@ GEM
|
||||
base64 (0.2.0)
|
||||
bigdecimal (3.1.8)
|
||||
colorator (1.1.0)
|
||||
concurrent-ruby (1.3.1)
|
||||
concurrent-ruby (1.3.2)
|
||||
connection_pool (2.4.1)
|
||||
drb (2.2.1)
|
||||
em-websocket (0.5.3)
|
||||
@ -35,22 +35,22 @@ GEM
|
||||
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)
|
||||
google-protobuf (4.27.1)
|
||||
bigdecimal
|
||||
rake (>= 13)
|
||||
google-protobuf (4.27.0-aarch64-linux)
|
||||
google-protobuf (4.27.1-aarch64-linux)
|
||||
bigdecimal
|
||||
rake (>= 13)
|
||||
google-protobuf (4.27.0-arm64-darwin)
|
||||
google-protobuf (4.27.1-arm64-darwin)
|
||||
bigdecimal
|
||||
rake (>= 13)
|
||||
google-protobuf (4.27.0-x86-linux)
|
||||
google-protobuf (4.27.1-x86-linux)
|
||||
bigdecimal
|
||||
rake (>= 13)
|
||||
google-protobuf (4.27.0-x86_64-darwin)
|
||||
google-protobuf (4.27.1-x86_64-darwin)
|
||||
bigdecimal
|
||||
rake (>= 13)
|
||||
google-protobuf (4.27.0-x86_64-linux)
|
||||
google-protobuf (4.27.1-x86_64-linux)
|
||||
bigdecimal
|
||||
rake (>= 13)
|
||||
html-pipeline (2.14.3)
|
||||
|
@ -5,11 +5,18 @@
|
||||
@charset "utf-8";
|
||||
|
||||
// Our variables
|
||||
$base-font-family: ui-serif, system-ui, "Liberation Serif", Tinos,
|
||||
"Times New Roman", serif, emoji;
|
||||
//$base-font-family: ui-sans-serif, system-ui, "Liberation Sans", "Arimo", "Arial", sans-serif;
|
||||
$serif-font-family: ui-serif, "Liberation Serif", Tinos, "Times New Roman",
|
||||
serif, emoji;
|
||||
// The second font, system-ui, may map to serif or something else entirely
|
||||
// instead of sans-serif, but it's less of an issue than the others
|
||||
// considering how serifs have distinguishable homoglyphs (I and l or O and 0
|
||||
// etc.)
|
||||
$sans-serif-font-family: ui-sans-serif, system-ui, "Liberation Sans", "Arimo",
|
||||
"Arial", sans-serif;
|
||||
$monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New",
|
||||
monospace, emoji;
|
||||
// Must be in the end or undefined error.
|
||||
$base-font-family: $sans-serif-font-family;
|
||||
|
||||
// CSS of used Jekyll theme
|
||||
@import "{{ site.theme }}";
|
||||
@ -39,10 +46,17 @@ $monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New",
|
||||
font-variant-emoji: text;
|
||||
}
|
||||
|
||||
// E.g. blesmrt.net vs bIesmrt.net
|
||||
a {
|
||||
text-decoration: underline !important;
|
||||
font-family: $serif-font-family;
|
||||
}
|
||||
|
||||
// Extraneous considering the above.
|
||||
//a.site-title {
|
||||
// font-family: $serif-font-family;
|
||||
//}
|
||||
|
||||
// .page-content {
|
||||
// width: 100% !important;
|
||||
// max-width: 78ch !important;
|
||||
@ -60,6 +74,17 @@ code {
|
||||
font-size: 0.8em !important;
|
||||
}
|
||||
|
||||
// Serif for headings to constrast with everything else being sans-serif
|
||||
// (except links).
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: $serif-font-family !important;
|
||||
}
|
||||
|
||||
// Overrides for light themes
|
||||
@media (prefers-color-scheme: light) {
|
||||
*:not(a) {
|
||||
@ -105,6 +130,7 @@ code {
|
||||
#bio {
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
font-family: ui-cursive, $serif-font-family;
|
||||
}
|
||||
|
||||
// _layouts/mini.html calls this for returning to index!
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
comments: true
|
||||
title: "Mitä puhelimet tekisivät jos kelloja siirrettäisiin pysyvästi"
|
||||
title: "Mitä puhelimet tekisivät jos kelloja siirrettäisiin pysyvästi?"
|
||||
category: [finnish]
|
||||
tags:
|
||||
[
|
||||
|
@ -17,19 +17,16 @@ robots: noai
|
||||
<h2 id="in-english">In English</h2>
|
||||
|
||||
{% for post in site.categories.english %}
|
||||
<p>
|
||||
<em>{{ post.date | date: "%F" }}:</em>
|
||||
<strong><a href="{{ post.url }}">{{ post.title }}</a></strong>
|
||||
</p>
|
||||
{{ post.excerpt | markdownify }} {% endfor %}
|
||||
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
||||
<p>{{ post.date | date: "%F" }}: {{ post.excerpt | strip_html }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<hr />
|
||||
<br />
|
||||
<div lang="fi">
|
||||
<h2 id="suomeksi">suomeksi</h2>
|
||||
{% for post in site.categories.finnish %}
|
||||
<p>
|
||||
<em>{{ post.date | date: "%F" }}:</em>
|
||||
<strong><a href="{{ post.url }}">{{ post.title }}</a></strong>
|
||||
</p>
|
||||
{{ post.excerpt | markdownify }} {% endfor %}
|
||||
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
||||
<p>{{ post.date | date: "%F" }}: {{ post.excerpt | strip_html }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
@ -32,8 +32,9 @@ robots: noai
|
||||
<!-- If the page is on the sitemap, I want to publish it here -->
|
||||
{% assign notes = site.pages | where_exp: "page", "page.path contains 'n/'" %}
|
||||
{% for note in notes %} {% if note.sitemap == true %}
|
||||
<h2><a href="{{ note.url }}">{{note.title}}</a></h2>
|
||||
<p>
|
||||
<a href="{{ note.url }}">{{ note.url | split: ".html" }} - {{note.title}}</a>
|
||||
<span class="monospaced">{{ note.url | split: ".html" }}</span> - {{
|
||||
note.excerpt | strip_html }}
|
||||
</p>
|
||||
<p>{{ note.excerpt | strip_html }}</p>
|
||||
{% endif %} {% endfor %}
|
||||
|
3
package.json
vendored
3
package.json
vendored
@ -1,6 +1,7 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"@prettier/plugin-xml": "3.4.1",
|
||||
"prettier": "3.3.1"
|
||||
"prettier": "3.3.1",
|
||||
"prettier-plugin-sh": "0.14.0"
|
||||
}
|
||||
}
|
||||
|
45
pnpm-lock.yaml
generated
vendored
45
pnpm-lock.yaml
generated
vendored
@ -13,6 +13,9 @@ importers:
|
||||
prettier:
|
||||
specifier: 3.3.1
|
||||
version: 3.3.1
|
||||
prettier-plugin-sh:
|
||||
specifier: 0.14.0
|
||||
version: 0.14.0(prettier@3.3.1)
|
||||
|
||||
packages:
|
||||
"@prettier/plugin-xml@3.4.1":
|
||||
@ -35,6 +38,21 @@ packages:
|
||||
integrity: sha512-wy3mC1x4ye+O+QkEinVJkPf5u2vsrDIYW9G7ZuwFl6v/Yu0LwUuT2POsb+NUWApebyxfkQq6+yDfRExbnI5rcw==,
|
||||
}
|
||||
|
||||
mvdan-sh@0.10.1:
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-kMbrH0EObaKmK3nVRKUIIya1dpASHIEusM13S4V1ViHFuxuNxCo+arxoa6j/dbV22YBGjl7UKJm9QQKJ2Crzhg==,
|
||||
}
|
||||
|
||||
prettier-plugin-sh@0.14.0:
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-hfXulj5+zEl/ulrO5kMuuTPKmXvOg0bnLHY1hKFNN/N+/903iZbNp8NyZBTsgI8dtkSgFfAEIQq0IQTyP1ZVFQ==,
|
||||
}
|
||||
engines: { node: ">=16.0.0" }
|
||||
peerDependencies:
|
||||
prettier: ^3.0.3
|
||||
|
||||
prettier@3.3.1:
|
||||
resolution:
|
||||
{
|
||||
@ -49,6 +67,19 @@ packages:
|
||||
integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==,
|
||||
}
|
||||
|
||||
sh-syntax@0.4.2:
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-/l2UZ5fhGZLVZa16XQM9/Vq/hezGGbdHeVEA01uWjOL1+7Ek/gt6FquW0iKKws4a9AYPYvlz6RyVvjh3JxOteg==,
|
||||
}
|
||||
engines: { node: ">=16.0.0" }
|
||||
|
||||
tslib@2.6.3:
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==,
|
||||
}
|
||||
|
||||
snapshots:
|
||||
"@prettier/plugin-xml@3.4.1(prettier@3.3.1)":
|
||||
dependencies:
|
||||
@ -63,6 +94,20 @@ snapshots:
|
||||
dependencies:
|
||||
regexp-to-ast: 0.5.0
|
||||
|
||||
mvdan-sh@0.10.1: {}
|
||||
|
||||
prettier-plugin-sh@0.14.0(prettier@3.3.1):
|
||||
dependencies:
|
||||
mvdan-sh: 0.10.1
|
||||
prettier: 3.3.1
|
||||
sh-syntax: 0.4.2
|
||||
|
||||
prettier@3.3.1: {}
|
||||
|
||||
regexp-to-ast@0.5.0: {}
|
||||
|
||||
sh-syntax@0.4.2:
|
||||
dependencies:
|
||||
tslib: 2.6.3
|
||||
|
||||
tslib@2.6.3: {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user