added subtitle back
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 50s

This commit is contained in:
Chiara 2026-08-20 14:57:21 +02:00
parent dd811e1b90
commit d4f0b77269
3 changed files with 8 additions and 3 deletions

View file

@ -15,12 +15,15 @@ const img = findImageByPath(post.image.path);
<div class="wide-container">
<div class="image-col col rounded">
<Image src={img} alt={post.image.alt} layout="constrained" />
<a href={url}>
<Image src={img} alt={post.image.alt} layout="constrained" />
</a>
</div>
<div class="text-col col">
<a href={url} class="headline-link">
<h2 class="headline">{post.title}</h2>
</a>
<h7>{post.subtitle}</h7>
<div class="top-info">
<span>{post.date}</span>
<span class="vertical-line"></span>
@ -75,7 +78,7 @@ const img = findImageByPath(post.image.path);
color: lightslategray;
}
.vertical-line{
.vertical-line {
color: #789;
border-right-width: 2px;
margin-right: 16px;

View file

@ -1,6 +1,7 @@
---
layout: ../../layouts/BlogPostLayout.astro
title: Ostseeurlaub -
title: Ostseeurlaub
subtitle: Finden wir ein Boot? Suchen wir überhaupt oder faulenzen wir nur?
description: Ostseeurlaub bedeutet für mich ganz viele Kindheitserinnerungen. Besonders diese Woche war vollgepackt davon. Hier meine Reiseempfehlung...
image:
path: ostsee.jpg

View file

@ -1,5 +1,6 @@
export interface Post {
title: String,
subtitle: String,
description: String,
date: String,
author: String,