style: 🎨 format metagen options to be more readable

This commit is contained in:
Sebin Nyshkim 2024-10-26 16:48:19 +02:00
parent 03e23c1ea4
commit 098843f5d8

View file

@ -2,26 +2,26 @@
<html lang="en">
<head>
{% metagen
title=title + ' - Sebin\'s Blog',
desc=description,
url='https://blog.sebin-nyshkim.net' + page.url,
type=type,
site_name='Sebin\'s Blog',
og_image_width=image.width,
og_image_height=image.height,
og_image_alt=image.alt,
og_image_type=image.type,
twitter_card_type=twitter.cardType,
twitter_handle=twitter.account,
name=author.name,
generator='eleventy',
preconnect=['https://cdn.sebin-nyshkim.net'],
dns_prefetch=['https://cdn.sebin-nyshkim.net'],
css=['/fonts/tilt-warp/tilt-warp.css',
'/fonts/encode-sans/encode-sans.css',
'/fonts/m-plus-1-code/m-plus-1-code.css',
'/css/style.css',
'/css/prism.css']
title = title + ' - Sebin\'s Blog',
desc = description,
url = 'https://blog.sebin-nyshkim.net' + page.url,
type = type,
site_name = 'Sebin\'s Blog',
og_image_width = image.width,
og_image_height = image.height,
og_image_alt = image.alt,
og_image_type = image.type,
twitter_card_type = twitter.cardType,
twitter_handle = twitter.account,
name = author.name,
generator = 'eleventy',
preconnect = ['https://cdn.sebin-nyshkim.net'],
dns_prefetch = ['https://cdn.sebin-nyshkim.net'],
css = ['/fonts/tilt-warp/tilt-warp.css',
'/fonts/encode-sans/encode-sans.css',
'/fonts/m-plus-1-code/m-plus-1-code.css',
'/css/style.css',
'/css/prism.css']
%}
{% ogImage "og-image.og.njk", { title: title, author: author, image: image } %}
{% if mastodon.fediverseCreator and mastodon.fediverseCreator != '' %}