forked from jekyll/minima
-
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.
Drop support for scalar 'author' configuration (jekyll#384)
Merge pull request 384
- Loading branch information
Showing
3 changed files
with
27 additions
and
7 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 |
---|---|---|
|
@@ -209,6 +209,23 @@ If you don't want to display comments for a particular post you can disable them | |
|
||
:warning: `url`, e.g. `https://example.com`, must be set in you config file for Disqus to work. | ||
|
||
### Author Metadata | ||
|
||
From `Minima-3.0` onwards, `site.author` is expected to be a mapping of attributes instead of a simple scalar value: | ||
|
||
```yaml | ||
author: | ||
name: John Smith | ||
email: "[email protected]" | ||
``` | ||
To migrate existing metadata, update your config file and any reference to the object in your layouts and includes as summarized below: | ||
Minima 2.x | Minima 3.0 | ||
------------- | ------------------- | ||
`site.author` | `site.author.name` | ||
`site.email` | `site.author.email` | ||
|
||
|
||
### Social networks | ||
|
||
|
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
title: Your awesome title | ||
author: GitHub User | ||
email: [email protected] | ||
author: | ||
name: GitHub User | ||
email: [email protected] | ||
description: > # this means to ignore newlines until "show_excerpts:" | ||
Write an awesome description for your new site here. You can edit this | ||
line in _config.yml. It will appear in your document head meta (for | ||
|
@@ -46,7 +47,7 @@ minima: | |
# instance: example.com | ||
# - username: jekyll2 | ||
# instance: example.com | ||
|
||
# If you want to link only specific pages in your header, uncomment | ||
# this and add the path to the pages in order as they should show up | ||
#header_pages: | ||
|
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