Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/akkuman/hexo-theme-next int…
Browse files Browse the repository at this point in the history
…o calendar
  • Loading branch information
sli1989 committed Oct 10, 2018
2 parents e10e9fc + 2b3b619 commit 8f44150
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions layout/_layout.swig
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
{% include '_third-party/analytics/lean-analytics.swig' %}
{% include '_third-party/analytics/firestore.swig' %}
{% include '_third-party/seo/baidu-push.swig' %}
{% include '_third-party/schedule.swig' %}
{% include '_third-party/math/index.swig' %}
{% include '_third-party/needsharebutton.swig' %}
{% include '_third-party/rating.swig' %}
Expand Down
9 changes: 9 additions & 0 deletions layout/page.swig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#}{{ __('title.category') + page_title_suffix }}{#
#}{% elif page.type === "tags" and not page.title %}{#
#}{{ __('title.tag') + page_title_suffix }}{#
#}{% elif page.type === "schedule" and not page.title %}{#
#}{{ __('title.schedule') + page_title_suffix }}{#
#}{% else %}{#
#}{{ page.title + page_title_suffix }}{#
#}{% endif %}{#
Expand Down Expand Up @@ -58,6 +60,13 @@
{{ list_categories() }}
</div>
</div>
{% elif page.type === 'schedule' %}
<div class="schedule">
<div id="schedule">
<ul id="event-list">
</ul>
</div>
</div>
{% else %}
{{ page.content }}
{% endif %}
Expand Down

0 comments on commit 8f44150

Please sign in to comment.