4 Commits

Author SHA1 Message Date
d4b7226871 Removed shit.
All checks were successful
Release / docker_build (push) Successful in 1m0s
Release / deploy_helm (push) Successful in 10s
2025-07-25 19:27:20 +02:00
5f4684d0cd Updated zola.
All checks were successful
Release / docker_build (push) Successful in 37s
Release / deploy_helm (push) Successful in 12s
2025-07-25 19:17:20 +02:00
54dd3042f8 Fixed code styles and preview images.
All checks were successful
Release / docker_build (push) Successful in 38s
Release / deploy_helm (push) Successful in 13s
2025-07-25 19:06:54 +02:00
8eaba16410 Fixed styles for code.
All checks were successful
Release / docker_build (push) Successful in 38s
Release / deploy_helm (push) Successful in 13s
2025-07-25 17:36:15 +02:00
7 changed files with 27 additions and 58 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/getzola/zola:v0.17.1 AS zola FROM ghcr.io/getzola/zola:v0.21.0 AS zola
COPY . /project COPY . /project
WORKDIR /project WORKDIR /project

View File

@ -3,7 +3,7 @@ title = "s3rius blog"
base_url = "https://s3rius.blog" base_url = "https://s3rius.blog"
theme = "hermit_zola" theme = "hermit_zola"
compile_sass = true compile_sass = true
minify_html = true minify_html = false
build_search_index = true build_search_index = true
generate_sitemap = true generate_sitemap = true
@ -16,6 +16,7 @@ render_emojis = true
smart_punctuation = true smart_punctuation = true
[extra] [extra]
preview_image = "preview.png"
home_subtitle = "Notes on writing unmaintainable software" home_subtitle = "Notes on writing unmaintainable software"
footer_copyright = ' &#183; <a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>' footer_copyright = ' &#183; <a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
@ -32,11 +33,6 @@ hermit_social = [
] ]
[extra.highlightjs]
enable = true
clipboard = true
theme = "https://unpkg.com/nord-highlightjs@0.1.0/dist/nord.css"
[extra.author] [extra.author]
name = "Pavel Kirilin" name = "Pavel Kirilin"
email = "s3rius@le-memese.com" email = "s3rius@le-memese.com"

View File

@ -2,8 +2,6 @@
title = "About Me" title = "About Me"
+++ +++
# Who Am I?
My name is Pavel Kirilin, and my nickname is [@s3rius](https://github.com/s3rius). I am a backend developer with diverse experience. Currently, I hold the position of CTO at [Intree](https://www.intree.com/). My name is Pavel Kirilin, and my nickname is [@s3rius](https://github.com/s3rius). I am a backend developer with diverse experience. Currently, I hold the position of CTO at [Intree](https://www.intree.com/).
In my free time, I enjoy experimenting with various technologies and building new projects. You can find some of my work on [GitHub](https://github.com/s3rius) or on my self-hosted Gitea instance at [gitea.le-memese.com](https://gitea.le-memese.com/s3rius). In my free time, I enjoy experimenting with various technologies and building new projects. You can find some of my work on [GitHub](https://github.com/s3rius) or on my self-hosted Gitea instance at [gitea.le-memese.com](https://gitea.le-memese.com/s3rius).

View File

@ -4,9 +4,7 @@ weight = 0
date = "2025-07-22" date = "2025-07-22"
[extra] [extra]
image = "posts/kube-intro/preview.png" preview_image = "posts/kube-intro/preview.png"
image_width = 1200
image_height = 720
+++ +++
![Intro](./imgs/intro.png) ![Intro](./imgs/intro.png)

View File

@ -42,7 +42,7 @@ pre tt {
pre { pre {
max-height: 40em; max-height: 40em;
padding: 0.7em 1.1em; padding: 0em;
overflow: auto; overflow: auto;
overflow-y: auto; overflow-y: auto;
overflow-x: scroll; overflow-x: scroll;
@ -67,7 +67,8 @@ pre {
} }
code { code {
padding: 0; display: block;
padding: 0.7em;
margin: 0; margin: 0;
table { table {
@ -81,7 +82,7 @@ pre {
} }
code[data-name] { code[data-name] {
display: block; position: relative;
padding-top: 2em !important; padding-top: 2em !important;
&::before { &::before {
@ -90,10 +91,10 @@ pre {
font-weight: bold; font-weight: bold;
top: 0; top: 0;
left: 0; left: 0;
padding-left: 1em; padding-left: 0.7em;
padding-top: 0.7em; padding-top: 0.2em;
width: 100%; width: 100%;
background-color: $midnightblue; background-color: $highlight-grey;
z-index: 1; z-index: 1;
color: $text; color: $text;
} }

View File

@ -42,22 +42,24 @@
{% endif %} {% endif %}
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
{% if page.extra and page.extra.image %} {% if page.extra and page.extra.preview_image %}
<meta property="og:image" content="{{get_url(path=page.extra.image)}}" /> {% set meta = get_image_metadata(path=page.extra.preview_image) %}
<meta property="og:image:width" content="{{page.extra.image_width}}" /> <meta property="og:image" content="{{get_url(path=page.extra.preview_image)}}" />
<meta property="og:image:height" content="{{page.extra.image_height}}" /> <meta property="og:image:width" content="{{meta.width}}" />
<meta property="og:image:height" content="{{meta.height}}" />
<meta name="twitter:image" content="{{get_url(path=page.extra.image)}}" /> <meta name="twitter:image" content="{{get_url(path=page.extra.preview_image)}}" />
<meta name="twitter:image:width" content="{{page.extra.image_width}}" /> <meta name="twitter:image:width" content="{{meta.width}}" />
<meta name="twitter:image:height" content="{{page.extra.image_height}}" /> <meta name="twitter:image:height" content="{{meta.height}}" />
{% else %} {% else %}
<meta property="og:image" content="{{get_url(path='preview.png')}}" /> {% set meta = get_image_metadata(path=config.extra.preview_image) %}
<meta property="og:image:width" content="1200" /> <meta property="og:image" content="{{get_url(path=config.extra.preview_image)}}" />
<meta property="og:image:height" content="720" /> <meta property="og:image:width" content="{{meta.width}}" />
<meta property="og:image:height" content="{{meta.height}}" />
<meta name="twitter:image" content="{{get_url(path='preview.png')}}" /> <meta name="twitter:image" content="{{get_url(path=config.extra.preview_image)}}" />
<meta name="twitter:image:width" content="1200" /> <meta name="twitter:image:width" content="{{meta.width}}" />
<meta name="twitter:image:height" content="720" /> <meta name="twitter:image:height" content="{{meta.height}}" />
{% endif %} {% endif %}
<!-- Twitter/X --> <!-- Twitter/X -->
@ -119,33 +121,6 @@
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" <script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"
onload="renderMathInElement(document.body, { delimiters: [ {left: '$$', right: '$$', display: true}, {left: '$', right: '$', display: false}, {left: '\\[', right: '\\]', display: true}, {left: '\\(', right: '\\)', display: false}]});"></script> onload="renderMathInElement(document.body, { delimiters: [ {left: '$$', right: '$$', display: true}, {left: '$', right: '$', display: false}, {left: '\\[', right: '\\]', display: true}, {left: '\\(', right: '\\)', display: false}]});"></script>
{% if config.extra.highlightjs.enable %}
<link href="https://unpkg.com/highlightjs-badge/highlightjs/styles/{{config.extra.highlightjs.theme}}.css" rel="stylesheet">
<!-- https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.1.1/build/styles/ for min version -->
<script src="https://unpkg.com/highlightjs-badge/highlightjs/highlight.pack.js"></script>
<script src="https://unpkg.com/highlightjs-badge/highlightjs-badge.min.js"></script>
<script>
var pres = document.querySelectorAll("pre>code");
for (var i = 0; i < pres.length; i++) {
hljs.highlightBlock(pres[i]);
}
</script>
{% if config.extra.highlightjs.clipboard %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js"></script>
<script>
var options = {
copyIconClass: "gg-clipboard",
checkIconClass: "gg-check"
};
window.highlightJsBadge(options);
</script>
{% endif %}
{% endif %}
{% if not config.extra.highlightjs.enable %}
<script src="{{get_url(path="js/copy.js")}}"></script>
{% endif %}
<script src="{{get_url(path="js/main.js")}}"></script> <script src="{{get_url(path="js/main.js")}}"></script>
{% block js_footer %} {% block js_footer %}

View File

@ -11,6 +11,7 @@ ingress:
annotations: annotations:
cert-manager.io/cluster-issuer: cert-issuer cert-manager.io/cluster-issuer: cert-issuer
external-dns.alpha.kubernetes.io/hostname: s3rius.blog external-dns.alpha.kubernetes.io/hostname: s3rius.blog
external-dns.alpha.kubernetes.io/cloudflare-proxied: "false"
tls: tls:
- hosts: - hosts:
- s3rius.blog - s3rius.blog