style: 🎨 format metagen options to be more readable
This commit is contained in:
parent
03e23c1ea4
commit
098843f5d8
1 changed files with 20 additions and 20 deletions
|
@ -2,26 +2,26 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
{% metagen
|
{% metagen
|
||||||
title=title + ' - Sebin\'s Blog',
|
title = title + ' - Sebin\'s Blog',
|
||||||
desc=description,
|
desc = description,
|
||||||
url='https://blog.sebin-nyshkim.net' + page.url,
|
url = 'https://blog.sebin-nyshkim.net' + page.url,
|
||||||
type=type,
|
type = type,
|
||||||
site_name='Sebin\'s Blog',
|
site_name = 'Sebin\'s Blog',
|
||||||
og_image_width=image.width,
|
og_image_width = image.width,
|
||||||
og_image_height=image.height,
|
og_image_height = image.height,
|
||||||
og_image_alt=image.alt,
|
og_image_alt = image.alt,
|
||||||
og_image_type=image.type,
|
og_image_type = image.type,
|
||||||
twitter_card_type=twitter.cardType,
|
twitter_card_type = twitter.cardType,
|
||||||
twitter_handle=twitter.account,
|
twitter_handle = twitter.account,
|
||||||
name=author.name,
|
name = author.name,
|
||||||
generator='eleventy',
|
generator = 'eleventy',
|
||||||
preconnect=['https://cdn.sebin-nyshkim.net'],
|
preconnect = ['https://cdn.sebin-nyshkim.net'],
|
||||||
dns_prefetch=['https://cdn.sebin-nyshkim.net'],
|
dns_prefetch = ['https://cdn.sebin-nyshkim.net'],
|
||||||
css=['/fonts/tilt-warp/tilt-warp.css',
|
css = ['/fonts/tilt-warp/tilt-warp.css',
|
||||||
'/fonts/encode-sans/encode-sans.css',
|
'/fonts/encode-sans/encode-sans.css',
|
||||||
'/fonts/m-plus-1-code/m-plus-1-code.css',
|
'/fonts/m-plus-1-code/m-plus-1-code.css',
|
||||||
'/css/style.css',
|
'/css/style.css',
|
||||||
'/css/prism.css']
|
'/css/prism.css']
|
||||||
%}
|
%}
|
||||||
{% ogImage "og-image.og.njk", { title: title, author: author, image: image } %}
|
{% ogImage "og-image.og.njk", { title: title, author: author, image: image } %}
|
||||||
{% if mastodon.fediverseCreator and mastodon.fediverseCreator != '' %}
|
{% if mastodon.fediverseCreator and mastodon.fediverseCreator != '' %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue