diff --git a/config.toml b/config.toml index 6a1169e..2743382 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ # The URL the site will be built for -title = "s3rius" +title = "s3rius blog" base_url = "https://s3rius.blog" theme = "hermit_zola" compile_sass = true diff --git a/content/posts/kube-intro/index.md b/content/posts/kube-intro/index.md index 7f39fc4..f63ed07 100644 --- a/content/posts/kube-intro/index.md +++ b/content/posts/kube-intro/index.md @@ -2,6 +2,11 @@ title = "Intro to kubernetes" weight = 0 date = "2025-07-22" + +[extra] +image = "posts/kube-intro/preview.png" +image_width = 1200 +image_height = 720 +++  diff --git a/content/posts/kube-intro/preview.png b/content/posts/kube-intro/preview.png new file mode 100644 index 0000000..e338130 Binary files /dev/null and b/content/posts/kube-intro/preview.png differ diff --git a/static/preview.png b/static/preview.png new file mode 100644 index 0000000..996259a Binary files /dev/null and b/static/preview.png differ diff --git a/themes/hermit_zola/templates/index.html b/themes/hermit_zola/templates/index.html index 39bba23..2f39956 100644 --- a/themes/hermit_zola/templates/index.html +++ b/themes/hermit_zola/templates/index.html @@ -19,6 +19,48 @@ rel="shortcut icon" href="{{get_url(path="favicon.ico")}}" /> + + + + + {% if page.title %} + + + {% else %} + + + {% endif %} + {% if page.description %} + + + {% else %} + + + {% endif %} + {% if page.relative_url %} + + {% endif %} + + + {% if page.extra and page.extra.image %} + + + + + + + + {% else %} + + + + + + + + {% endif %} + + {% if page.title %}