Блоги #1

Merged
rndtrash merged 64 commits from feature-blogs into master 2025-10-22 08:44:56 +03:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 0edf7022e8 - Show all commits

1
src/app.d.ts vendored
View file

@ -22,6 +22,7 @@ declare global {
slug: string;
title: string;
thumbnail?: string;
thumbnailAlt?: string;
date?: string;
dateChanged?: string;
description: string;

View file

@ -57,7 +57,7 @@
<img
class="absolute h-full w-full object-cover"
src={`/blog/${post.slug}/${post.thumbnail}`}
alt="thumbnail"
alt={post.thumbnailAlt ?? 'Миниатюра поста'}
/>
{/if}
</div>