From 9ead2c33e8e683fed1460c9309dc2e34e722ff67 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Wed, 12 Jan 2022 12:32:29 +1100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20`headline`=20parameter=20to?= =?UTF-8?q?=20author?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + config/_default/languages.en.toml | 1 + exampleSite/config/_default/languages.en.toml | 1 + layouts/partials/home/profile.html | 5 +++++ 4 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e43f577..9fcabc43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Multilingual support - Right-to-left (RTL) language support - Performance and Accessibility improvements to achieve perfect Lighthouse scores +- Author `headline` parameter ### Changed diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index c3a596fa..02f89f41 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -13,6 +13,7 @@ dateFormat = "2 January 2006" [author] # name = "Your name here" # image = "img/author.jpg" + # headline = "I'm only human" # bio = "A little bit about you" # links = [ # { email = "mailto:hello@your_domain.com" }, diff --git a/exampleSite/config/_default/languages.en.toml b/exampleSite/config/_default/languages.en.toml index bb6b9d07..a3beb1bd 100644 --- a/exampleSite/config/_default/languages.en.toml +++ b/exampleSite/config/_default/languages.en.toml @@ -13,6 +13,7 @@ dateFormat = "2 January 2006" [author] name = "Congo" image = "author.jpg" + # headline = "" bio = "This is an example author bio, and although there's a stock photo of a dog here, this article was actually created by a human. :dog:" links = [ { twitter = "https://twitter.com/" }, diff --git a/layouts/partials/home/profile.html b/layouts/partials/home/profile.html index ffa765fc..18299f48 100644 --- a/layouts/partials/home/profile.html +++ b/layouts/partials/home/profile.html @@ -20,6 +20,11 @@