Skip to content

Commit

Permalink
Bug: Sidebar disappears in pages. hexojs#101, hexojs#102
Browse files Browse the repository at this point in the history
  • Loading branch information
iissnan committed Apr 13, 2015
1 parent f6e78a6 commit 0c3ab70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions layout/_partials/sidebar.swig

This file was deleted.

5 changes: 5 additions & 0 deletions layout/page.swig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends '_layout.swig' %}
{% import '_macro/sidebar.swig' as sidebar_template %}

{% block title %}
{% set page_title_suffix = ' // ' + config.title %}
Expand Down Expand Up @@ -39,4 +40,8 @@
{% endif %}
</div>

{% endblock %}

{% block sidebar %}
{{ sidebar_template.render(false) }}
{% endblock %}

0 comments on commit 0c3ab70

Please sign in to comment.