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="wide-container">
|
||||||
<div class="image-col col rounded">
|
<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>
|
||||||
<div class="text-col col">
|
<div class="text-col col">
|
||||||
<a href={url} class="headline-link">
|
<a href={url} class="headline-link">
|
||||||
<h2 class="headline">{post.title}</h2>
|
<h2 class="headline">{post.title}</h2>
|
||||||
</a>
|
</a>
|
||||||
|
<h7>{post.subtitle}</h7>
|
||||||
<div class="top-info">
|
<div class="top-info">
|
||||||
<span>{post.date}</span>
|
<span>{post.date}</span>
|
||||||
<span class="vertical-line"></span>
|
<span class="vertical-line"></span>
|
||||||
|
|
@ -75,7 +78,7 @@ const img = findImageByPath(post.image.path);
|
||||||
color: lightslategray;
|
color: lightslategray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vertical-line{
|
.vertical-line {
|
||||||
color: #789;
|
color: #789;
|
||||||
border-right-width: 2px;
|
border-right-width: 2px;
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: ../../layouts/BlogPostLayout.astro
|
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...
|
description: Ostseeurlaub bedeutet für mich ganz viele Kindheitserinnerungen. Besonders diese Woche war vollgepackt davon. Hier meine Reiseempfehlung...
|
||||||
image:
|
image:
|
||||||
path: ostsee.jpg
|
path: ostsee.jpg
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
export interface Post {
|
export interface Post {
|
||||||
title: String,
|
title: String,
|
||||||
|
subtitle: String,
|
||||||
description: String,
|
description: String,
|
||||||
date: String,
|
date: String,
|
||||||
author: String,
|
author: String,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue