summaryrefslogtreecommitdiffstats
path: root/source/_includes
diff options
context:
space:
mode:
authorHong Xu <xuhdev@gmail.com>2012-05-06 10:00:58 +0200
committerHong Xu <xuhdev@gmail.com>2012-05-06 10:00:58 +0200
commit84469c8c33aad9725b0f15421989d057df7acc40 (patch)
tree43b8700fc78a26f701bb0f312ee9b9fbc1d675fc /source/_includes
parent5f41b01d2221209871f6113955b7a0ffd8e3a8aa (diff)
downloadoctopress-theme-jeyzu-84469c8c33aad9725b0f15421989d057df7acc40.zip
octopress-theme-jeyzu-84469c8c33aad9725b0f15421989d057df7acc40.tar.gz
Use site.title in the copyright notice if site.author is not available.
Diffstat (limited to 'source/_includes')
-rw-r--r--source/_includes/custom/footer.html7
1 files changed, 6 insertions, 1 deletions
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 &copy; {{ site.time | date: "%Y" }} {{ site.author }}
+Copyright &copy; {{ site.time | date: "%Y" }}
+{% if site.author %}
+ {{ site.author }}
+{% else %}
+ {{ site.title }}
+{% endif %}