add favicon and image to blog article
Some checks failed
Deploy Blog / deploy (push) Has been cancelled
Some checks failed
Deploy Blog / deploy (push) Has been cancelled
This commit is contained in:
@@ -9,6 +9,11 @@
|
||||
href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap"
|
||||
rel="stylesheet">
|
||||
|
||||
<link rel="icon" href="/favicon.ico" sizes="any">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
%sveltekit.head%
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<article class="group overflow-hidden rounded-lg border border-gray-200 transition hover:shadow-lg">
|
||||
<a href="/posts/{slug}" class="block">
|
||||
{#if image}
|
||||
<div class="aspect-video w-full overflow-hidden bg-gray-100">
|
||||
<div class="overflow-hidde aspect-video w-full">
|
||||
<img
|
||||
src={image}
|
||||
alt={title}
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Blog</title>
|
||||
<title>jawhng.xyz - blog</title>
|
||||
</svelte:head>
|
||||
|
||||
<div class="mx-auto max-w-4xl px-4 py-12">
|
||||
<h1 class="mb-8 text-4xl font-bold">Blog Posts</h1>
|
||||
<h1 class="mb-8 text-4xl font-bold">Always off-topic</h1>
|
||||
|
||||
<div class="space-y-6">
|
||||
{#each data.posts as post}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "How It's Made - The Blog"
|
||||
date: "2025-12-22"
|
||||
excerpt: "A cynic walks you through building a blog with SvelteKit, particles.js that doesn't work, and enough utility classes to make you start questioning your choices."
|
||||
image: "/images/posts/jawhng.png"
|
||||
---
|
||||
|
||||
**Everybody's dying.** Some people are just doing it faster than others by choosing the wrong JavaScript framework.
|
||||
|
||||
Reference in New Issue
Block a user