Compare commits

..

3 Commits

Author SHA1 Message Date
f73377396d
Add opengraph metadata
Signed-off-by: Fey Naomi Schrewe <fey@posteo.eu>
2023-09-04 17:46:43 +02:00
19d17598c7
Base font size on em
Signed-off-by: Fey Naomi Schrewe <fey@posteo.eu>
2023-09-04 17:35:53 +02:00
6851af664e
Remove margin from unordered lists
Signed-off-by: Fey Naomi Schrewe <fey@posteo.eu>
2023-09-04 17:35:40 +02:00
6 changed files with 31 additions and 6 deletions

View File

@ -1,5 +1,6 @@
# The URL the site will be built for # The URL the site will be built for
base_url = "https://nom.fey.ink" base_url = "https://nom.fey.ink"
title = "nom"
# Whether to automatically compile all Sass files in the sass directory # Whether to automatically compile all Sass files in the sass directory
compile_sass = true compile_sass = true

3
content/_index.md Normal file
View File

@ -0,0 +1,3 @@
+++
title = "fey's cookbook"
+++

View File

@ -1,3 +1,4 @@
+++ +++
title = "recipes" title = "recipes"
description = "everything I cook"
+++ +++

View File

@ -54,9 +54,11 @@ ol li {
margin-bottom: 2rem; margin-bottom: 2rem;
} }
ul li { ul {
margin-left: 2rem; li {
text-indent: -2rem; margin-left: 2rem;
text-indent: -2rem;
}
margin-top: 0; margin-top: 0;
} }
@ -96,7 +98,7 @@ ul li {
column-fill: auto; column-fill: auto;
max-height: 100%; max-height: 100%;
} }
@media (min-width: 56rem) and (max-width: 1080px) { @media (min-width: 56rem) and (min-width: 800px) and (max-width: 1080px) {
column-count: 2; column-count: 2;
column-fill: balance; column-fill: balance;
max-height: 100%; max-height: 100%;

View File

@ -1 +1 @@
$font-size: 16pt; $font-size: 1.25em;

View File

@ -1,6 +1,24 @@
{% if section %}
{% set meta = section %}
{% else %}
{% if page %}
{% set meta = page %}
{% endif %}
{% endif %}
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>{{ meta.title }}</title>
<meta property="og:type" content="website">
<meta property="og:site" content="{%if config.title %}{{ config.title }}{% else %}{{ config.base_url }}{% endif %}">
<meta property="og:url" content="{{ get_url(path=meta.path) }}">
<meta property="og:title" content="{{ meta.title }}">
{% if meta.description -%}
<meta property="og:description" content="{{ meta.description }}">
{%- endif %}
{% if meta.extra.thumbnail -%}#
<meta property="og:image" content="{{ get_url(path=meta.extra.thumbnail) }}">
{%- endif %}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>