From 5f41b01d2221209871f6113955b7a0ffd8e3a8aa Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Wed, 2 May 2012 01:06:39 +0800 Subject: Correct the author in the copyright footer. --- source/_includes/custom/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_includes/custom/footer.html b/source/_includes/custom/footer.html index 488ea2f..cebec09 100644 --- a/source/_includes/custom/footer.html +++ b/source/_includes/custom/footer.html @@ -1 +1 @@ -Copyright © {{ site.time | date: "%Y" }} {{ site.title }} \ No newline at end of file +Copyright © {{ site.time | date: "%Y" }} {{ site.author }} -- cgit v1.1-2-g2b99 From 84469c8c33aad9725b0f15421989d057df7acc40 Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Sun, 6 May 2012 16:00:58 +0800 Subject: Use site.title in the copyright notice if site.author is not available. --- source/_includes/custom/footer.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/_includes/custom/footer.html b/source/_includes/custom/footer.html index cebec09..d6b4a36 100644 --- a/source/_includes/custom/footer.html +++ b/source/_includes/custom/footer.html @@ -1 +1,6 @@ -Copyright © {{ site.time | date: "%Y" }} {{ site.author }} +Copyright © {{ site.time | date: "%Y" }} +{% if site.author %} + {{ site.author }} +{% else %} + {{ site.title }} +{% endif %} -- cgit v1.1-2-g2b99