Skip to content

Commit

Permalink
Fix a bug that custom show_title isn't applied
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 30, 2013
1 parent 3222d7d commit 19edefb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions _layouts/base.html
@@ -1,6 +1,3 @@
---
show_title: true
---
<!DOCTYPE html>
<html>
<head>
Expand Down Expand Up @@ -45,7 +42,7 @@
</nav>

<div class="container">
{% if page.title and page.show_title == "true" %}
{% if page.title and page.show_title != false %}
<h1>{{ page.title }}</h1>
{% endif %}
{{ content }}
Expand Down

0 comments on commit 19edefb

Please sign in to comment.