diff options
author | Hong Xu <xuhdev@gmail.com> | 2012-05-06 10:00:58 +0200 |
---|---|---|
committer | Hong Xu <xuhdev@gmail.com> | 2012-05-06 10:00:58 +0200 |
commit | 84469c8c33aad9725b0f15421989d057df7acc40 (patch) | |
tree | 43b8700fc78a26f701bb0f312ee9b9fbc1d675fc /source/_includes/custom | |
parent | 5f41b01d2221209871f6113955b7a0ffd8e3a8aa (diff) | |
download | octopress-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/custom')
-rw-r--r-- | source/_includes/custom/footer.html | 7 |
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 © {{ site.time | date: "%Y" }} {{ site.author }} +Copyright © {{ site.time | date: "%Y" }} +{% if site.author %} + {{ site.author }} +{% else %} + {{ site.title }} +{% endif %} |