Skip to content

Commit

Permalink
Merge pull request #22 from Lorthirk/author-in-footer
Browse files Browse the repository at this point in the history
Added "author" in footer instead of double title
  • Loading branch information
benbalter committed Aug 29, 2016
2 parents 1e20bd3 + 6ce747b commit 48657bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ <h2 class="footer-heading">{{ site.title | escape }}</h2>
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list">
<li>{{ site.title | escape }}</li>
<li>
{% if site.author %}
{{ site.author | escape }}
{% else %}
{{ site.title | escape }}
{% endif %}
</li>
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
</ul>
</div>
Expand Down
1 change: 1 addition & 0 deletions example/_config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
theme: minima

name: A site title
author: Mr. GitHub User
description: "Write an awesome description for your new site here. It will appear in your document head meta (for Google search results) and in your feed.xml site description."

collections:
Expand Down

0 comments on commit 48657bc

Please sign in to comment.