this repo has no description

ft: upgrade Zola, remove viewport specs, and add hyphenation

hauleth.dev 328ea839 f4d18916

verified
+1 -1
content/post/who-watches-watchmen-i.md
···
Next thing is that we can do, is to [disable crash dumps generated by BEAM][crash].
While not strictly needed in this case, it is worth remembering, that it isn't
-
hard to achieve, it is just using `Environment=ERL_CRASH_DUMP_SECONDS=0`.
+
hard to achieve, just use `Environment=ERL_CRASH_DUMP_SECONDS=0`.
Our new, more secure, `hello.service` will look like:
+3 -3
content/post/who-watches-watchmen-ii.md
···
Requires=sockets.target
[Socket]
-
# We declare the name of the file descriptor here to simplify extraction in
-
# the application afterwards. By default it will be the socket name (so
-
# `hello-http` in our case), but `http` is much cleaner.
+
# We declare the name of the file descriptor here to simplify extraction
+
# in the application afterwards. By default it will be the socket name
+
# (so `hello-http` in our case), but `http` is much cleaner.
FileDescriptorName=http
ListenStream=80
Service=hello.service
+6 -7
flake.lock
···
"systems": "systems"
},
"locked": {
-
"lastModified": 1710146030,
-
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+
"lastModified": 1731533236,
+
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
-
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
···
},
"nixpkgs": {
"locked": {
-
"lastModified": 1725194671,
-
"narHash": "sha256-tLGCFEFTB5TaOKkpfw3iYT9dnk4awTP/q4w+ROpMfuw=",
-
"path": "/nix/store/9qq0zf30wi74pz66rr05zmxq0nv17q1p-source",
-
"rev": "b833ff01a0d694b910daca6e2ff4a3f26dee478c",
+
"lastModified": 0,
+
"narHash": "sha256-FurMxmjEEqEMld11eX2vgfAx0Rz0JhoFm8UgxbfCZa8=",
+
"path": "/nix/store/jkbly0r78qgqgsi7znsxc8mbh8ydfq4n-source",
"type": "path"
},
"original": {
+1 -1
flake.nix
···
inputsFrom = [ blog ];
packages = [
-
pkgs.netlify-cli
+
# pkgs.netlify-cli
pkgs.vale
pkgs.mdl
];
+1 -1
netlify.toml
···
publish = "public/"
[build.environment]
-
ZOLA_VERSION = "0.19.2"
+
ZOLA_VERSION = "0.20.0"
[context.deploy-preview]
command = "zola build --drafts --base-url $DEPLOY_PRIME_URL"
+3 -1
sass/_main.scss
···
@import "variables";
:root {
-
font-size: calc(1rem + 0.1vw);
+
font-size: calc(1rem + 0.05vw);
line-height: 1.54;
color: var(--color);
···
padding: 1px 6px;
margin: 0 2px;
font-size: .95rem;
+
hyphens: none;
}
pre {
···
// Todo change it to ::marker when Safari will support it
&::before {
+
margin-left: -2rem;
content: counters(li, ".") ". ";
}
}
+5 -2
sass/_post.scss
···
.post {
width: 100%;
-
text-align: left;
+
text-align: justify;
+
text-wrap: pretty;
+
hyphens: auto;
+
hyphenate-limit-chars: 10;
margin: 20px auto;
padding: 20px 0 0 0;
+
@media (max-width: $tablet-max-width) {
margin: 0 auto;
···
&-content {
margin-top: 30px;
-
position: relative;
}
&-cover {
+27
templates/index.html
···
</nav>
</header>
{% endblock header %}
+
+
{% block general_meta %}
+
<meta http-equiv="content-type" content="text/html; charset=utf-8">
+
{%- if page.title -%}
+
<meta name="description" content="{{ config.description }} {{ page.title }} {{ page.description }}"/>
+
{%- else -%}
+
<meta name="description" content="{{ config.description }}"/>
+
{%- endif -%}
+
+
{%- if page.taxonomies.tags or page.taxonomies.categories -%}
+
<meta name="keywords" content="
+
{%- if page.taxonomies.categories -%}
+
{%- for cat in page.taxonomies.categories -%}
+
{{ cat }}, {% endfor -%}
+
{%- endif -%}
+
+
{%- if page.taxonomies.tags -%}
+
{%- for tag in page.taxonomies.tags -%}
+
{%- if loop.last -%}
+
{{ tag }}
+
{%- else -%}
+
{{ tag }}, {% endif -%}
+
{%- endfor -%}
+
{%- endif -%}
+
" />
+
{%- endif -%}
+
{% endblock general_meta %}