-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from powdr-labs/reduce-banner-width
Reduce banner width
- Loading branch information
Showing
2 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: 'My New Blog Post with Banner' | ||
date: '2023-04-15' | ||
lastmod: '2023-04-15' | ||
tags: ['blog', 'feature'] | ||
draft: false | ||
summary: 'This is a sample blog post demonstrating the use of a banner image in the frontmatter.' | ||
images: ['/static/images/powdr-banner.png'] | ||
layout: PostBanner | ||
--- | ||
|
||
# Welcome to My New Blog Post | ||
|
||
This is a sample blog post that demonstrates the use of a banner image and the PostBanner layout. The banner image is specified in the frontmatter of this Markdown file. | ||
|
||
## What's Different? | ||
|
||
In the frontmatter of this post, we've added two important elements: | ||
|
||
1. `images: ['/static/images/sample-banner.jpg']` - This specifies the banner image to be used. | ||
2. `layout: PostBanner` - This tells the blog to use the PostBanner layout for this post. | ||
|
||
## Rest of the Post | ||
|
||
The rest of your post content goes here. You can use all the Markdown features as usual, such as: | ||
|
||
- Lists | ||
- **Bold text** | ||
- *Italic text* | ||
- [Links](https://example.com) | ||
- And more! | ||
|
||
Remember to actually add the image file `sample-banner.jpg` to your `/static/images/` directory for this to work properly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters