mirror of
https://github.com/withastro/astro.git
synced 2025-01-13 22:11:20 -05:00
4591c1f5ad
* Add an alt tag for the hero image * pass along * Create heavy-pumas-cross.md
23 lines
698 B
Text
23 lines
698 B
Text
---
|
|
import { Markdown } from 'astro/components';
|
|
import BaseHead from '../components/BaseHead.astro';
|
|
import BlogHeader from '../components/BlogHeader.astro';
|
|
import BlogPost from '../components/BlogPost.astro';
|
|
|
|
const {content} = Astro.props;
|
|
const {title, description, publishDate, author, heroImage, permalink, alt} = content;
|
|
---
|
|
<html lang={ content.lang || 'en' }>
|
|
<head>
|
|
<BaseHead title={title} description={description} permalink={permalink} />
|
|
<link rel="stylesheet" href="/blog.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<BlogHeader />
|
|
<BlogPost title={title} author={author} heroImage={heroImage} publishDate={publishDate} alt={alt}>
|
|
<slot />
|
|
</BlogPost>
|
|
</body>
|
|
</html>
|
|
|