This repository has been archived by the owner on Apr 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #3
- Loading branch information
Showing
5 changed files
with
37 additions
and
17 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
This file was deleted.
Oops, something went wrong.
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,32 @@ | ||
--- | ||
subtitle: Posts can have subtitles, which appear in large text beneath the title. "Lead" paragraphs also use the same large text style. | ||
--- | ||
|
||
Subtitles and Lead Paragraphs | ||
============================= | ||
|
||
To give a post a subtitle by add a `subtitle` to its [YAML front matter](https://jekyllrb.com/docs/front-matter/): | ||
|
||
```yaml | ||
--- | ||
title: Subtitles and Lead Paragraphs | ||
subtitle: Posts can have subtitles, which appear in large text beneath the title. | ||
--- | ||
``` | ||
|
||
Subtitles appear beneath the title at the top of the page, in large text. | ||
|
||
You can also use this large text style anywhere in a page by creating a | ||
paragraph with the CSS class `lead`. For example this: | ||
|
||
```html | ||
<p class="lead">This is a "lead" paragraph. It stands out more than other | ||
paragraphs. These can go anywhere on the page, not just at the top of | ||
posts.</p> | ||
``` | ||
|
||
Will render like this: | ||
|
||
<p class="lead">This is a "lead" paragraph. It stands out more than other | ||
paragraphs. These can go anywhere on the page, not just at the top of | ||
posts.</p> |
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
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