added subtitle back
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 50s
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 50s
This commit is contained in:
parent
dd811e1b90
commit
d4f0b77269
3 changed files with 8 additions and 3 deletions
|
|
@ -15,12 +15,15 @@ const img = findImageByPath(post.image.path);
|
|||
|
||||
<div class="wide-container">
|
||||
<div class="image-col col rounded">
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
export interface Post {
|
||||
title: String,
|
||||
subtitle: String,
|
||||
description: String,
|
||||
date: String,
|
||||
author: String,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue