build: 🔧 use externally hosted image service
Build time increases exponentially with more images pulled in by the eleventy-image plugin. This keeps build times low and shifts computational load to an external image hosting service.
This commit is contained in:
parent
d87c0cbbb8
commit
21cb51f612
19 changed files with 43 additions and 39 deletions
|
@ -15,8 +15,8 @@
|
|||
twitter_card_type = twitter.cardType,
|
||||
name = author.name,
|
||||
generator = eleventy.generator,
|
||||
preconnect = ['https://cdn.sebin-nyshkim.net'],
|
||||
dns_prefetch = ['https://cdn.sebin-nyshkim.net'],
|
||||
preconnect = ['https://img.sebin-nyshkim.net'],
|
||||
dns_prefetch = ['https://img.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',
|
||||
|
@ -28,14 +28,14 @@
|
|||
<meta name="fediverse:creator" content="{{ mastodon.fediverseCreator }}" />
|
||||
{% endif %}
|
||||
<link rel="alternate" href="/feed.xml" title="Sebin's Blog" type="application/atom+xml">
|
||||
<link rel="shortcut icon" href="/img/sebin.png" type="image/png">
|
||||
<link rel="shortcut icon" href="https://img.sebin-nyshkim.net/i/b6629b72-ab77-4a6c-bf97-b1a615cc2454.png" type="image/png">
|
||||
<link rel="me" href="https://meow.social/@SebinNyshkim">
|
||||
</head>
|
||||
<body class="bg-slate-300 text-slate-700 dark:bg-slate-900 dark:text-slate-300">
|
||||
<header class="absolute z-10 left-0 right-0 top-0 sm:px-safe-offset-4 md:px-safe-offset-6">
|
||||
<div class="flex min-h-16 max-w-(--breakpoint-xl) items-center justify-center bg-sky-600 shadow-xl sm:m-4 sm:mx-auto sm:justify-between sm:rounded-xl dark:bg-sky-950">
|
||||
<div class="hidden sm:flex sm:items-center">
|
||||
<img src="/img/sebin.png" alt="" class="m-4 max-w-12 rounded-full border-4 border-white shadow-2xl lg:m-5 lg:max-w-14">
|
||||
<img src="https://img.sebin-nyshkim.net/i/b6629b72-ab77-4a6c-bf97-b1a615cc2454" alt="" class="m-4 max-w-12 rounded-full border-4 border-white shadow-2xl lg:m-5 lg:max-w-14">
|
||||
<h1 class="text-2xl text-white lg:text-3xl">Sebin's Blog</h1>
|
||||
</div>
|
||||
<nav class="eleventy-navigation" aria-label="Main">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue