summaryrefslogtreecommitdiff
path: root/_includes/og-image.og.njk
diff options
context:
space:
mode:
authorJan Palma <honzik@janpalma.cz>2026-02-28 16:24:59 +0100
committerJan Palma <honzik@janpalma.cz>2026-02-28 16:24:59 +0100
commit010e4e5250c6629e31ffd2716ac558e127e163d8 (patch)
tree018825689555207a4fc6f30b6d9c748c3c92ae8a /_includes/og-image.og.njk
parent89492d3d14e853d3b14bd036484f9565c75bc420 (diff)
downloadspelis-web-010e4e5250c6629e31ffd2716ac558e127e163d8.tar
spelis-web-010e4e5250c6629e31ffd2716ac558e127e163d8.tar.gz
spelis-web-010e4e5250c6629e31ffd2716ac558e127e163d8.tar.bz2
spelis-web-010e4e5250c6629e31ffd2716ac558e127e163d8.tar.lz
spelis-web-010e4e5250c6629e31ffd2716ac558e127e163d8.tar.xz
spelis-web-010e4e5250c6629e31ffd2716ac558e127e163d8.tar.zst
spelis-web-010e4e5250c6629e31ffd2716ac558e127e163d8.zip
OG Image + Fonts
Diffstat (limited to '_includes/og-image.og.njk')
-rw-r--r--_includes/og-image.og.njk29
1 files changed, 29 insertions, 0 deletions
diff --git a/_includes/og-image.og.njk b/_includes/og-image.og.njk
new file mode 100644
index 0000000..9cad23d
--- /dev/null
+++ b/_includes/og-image.og.njk
@@ -0,0 +1,29 @@
+<style>
+ .root {
+ width: 100%;
+ height: 100%;
+ display: flex;
+
+ font-family: "JetBrains Mono";
+ flex-direction: column;
+ justify-content: flex-end;
+ background: #171715;
+ padding: 20px 50px;
+ border-bottom: 20px solid #efefd2;
+ }
+
+ .title {
+ color: #efefd2;
+ font-size: 70px;
+ }
+ .site {
+ color: #efefd2;
+ font-size: 20px;
+ }
+</style>
+
+<div class="root">
+ <div class="site">/home/spellis{{ siteTitle }}</div>
+
+ <h1 class="title">{{ title }}</h1>
+</div> \ No newline at end of file