Skip to content

Commit

Permalink
Fix deprecated email key in the default _config.yml file
Browse files Browse the repository at this point in the history
It's now under an `author` key:
https://github.com/jekyll/minima?tab=readme-ov-file#author-metadata

Also added a sample `author.name` key.
  • Loading branch information
revolter committed Apr 28, 2024
1 parent 96a4198 commit 982012c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/site_template/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# you will see them accessed via {{ site.title }}, {{ site.author.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: Your awesome title
email: your-email@example.com
author:
name: Your Name
email: your-email@example.com
description: >- # this means to ignore newlines until "baseurl:"
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
Expand Down

0 comments on commit 982012c

Please sign in to comment.