Skip to content

Commit

Permalink
feat(footer): simplify condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Feb 3, 2017
1 parent c3e51fe commit a137df6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions _app/_includes/themes/curtana/includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- Footer section -->
{% if page.permalink == '/' and site.data.curtana.clean_homepage %}
{% else %}
{% unless page.permalink == '/' and site.data.curtana.clean_homepage %}
<footer class="footer">
<ul>
<li><a href="{{ '/' | relative_url }}">{{ site.name }}</a></li>
Expand All @@ -17,7 +16,7 @@
<li><a href="{{ amsf_feed_url }}" title="Feed - Atom (The Atom Syndication Format)">Atom</a></li>
</ul>
</footer>
{% endif %}
{% endunless %}

<!-- Theme scripts -->
<script src="{{ '/js/app.js?assets-inline' | prepend: amsf_theme_assets }}"></script>
Expand Down

0 comments on commit a137df6

Please sign in to comment.