diff --git a/README.md b/README.md index 60a90694..ecb29449 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,8 @@ Midnight will respect the following variables, if set in your site's `_config.ym ```yml title: [The title of your site] -description: [A short description of your site's purpose] +tagline: [A very short description of your site's purpose, used as subtitle] +description: [A short description of your site's purpose (e.g. for search engines)] ``` Additionally, you may choose to set the following optional variables: diff --git a/_layouts/default.html b/_layouts/default.html index 77f23fc7..9058c9f2 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -36,7 +36,7 @@

{{ site.title | default: site.github.repository_name }}

-

{{ site.description | default: site.github.project_tagline }}

+

{{ site.tagline | default: site.description | default: site.github.project_tagline }}


Project maintained by {{ site.github.owner_name }} Hosted on GitHub Pages — Theme by mattgraham