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