broadcasts and 404 errors
Some checks failed
test / cargo test (push) Failing after 59s

This commit is contained in:
2024-10-02 15:32:40 +02:00
parent 4f09373df3
commit 2979e21285
23 changed files with 236 additions and 60 deletions

View File

@ -3,7 +3,7 @@
{% block og_meta %}
<meta property="og:title" content="{{title}}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://michalvanko.dev/blog/{{slug}}" />
<meta property="og:url" content="https://michalvanko.dev/{{segment}}/{{slug}}" />
{% match thumbnail %}
{% when Some with (img) %}
{% let src = crate::picture_generator::image_src_generator::generate_image_with_src(img, 1200, 630, "_og", true).unwrap_or("thumbnail not found".to_string())|safe %}