-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
96 additions
and
65 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<meta charset="UTF-8"> | ||
{% include ksio/partials/meta/seo.html %} | ||
{% include ksio/partials/meta/render.html %} | ||
{% include ksio/partials/meta/feed.html %} | ||
{% include ksio/partials/meta/brand.html %} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{% if page.ksio_slot_aside %} | ||
<div class="Page-sidebar col-md-3">{% include "{{ page.ksio_slot_aside | replace: '.html', '' }}.html" %}</div> | ||
{% else %} | ||
{% ifhascontent sidebar %} | ||
<div class="Page-sidebar col-md-3">{% contentblock sidebar %}</div> | ||
{% endifhascontent %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% if page.ksio_slot_banner %} | ||
{% include "{{ page.ksio_slot_banner | replace: '.html', '' }}.html" %} | ||
{% else %} | ||
{% assign banner = page.banner %} | ||
{% if banner %} | ||
<!-- 页面横幅 --> | ||
<div class="Page-banner hidden-xs" style="background-image: url('{{ banner.url | asset_path }}');"> | ||
<figure class="sr-only"> | ||
<img src="{{ banner.url | asset_path }}" alt="{{ banner.description }}"> | ||
<figcaption>{{ banner.description }}</figcaption> | ||
</figure> | ||
</div> | ||
{% else %} | ||
{% ifhascontent post_banner %} | ||
{% contentblock post_banner %} | ||
{% endifhascontent %} | ||
{% endif %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% if page.ksio_slot_content %}{% include "{{ page.ksio_slot_content | replace: '.html', '' }}.html" %}{% else %}{{ content }}{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% if page.ksio_slot_footer %} | ||
{% include "{{ page.ksio_slot_footer | replace: '.html', '' }}.html" %} | ||
{% else %} | ||
{% ifhascontent footer %}{% contentblock footer %}{% endifhascontent %} | ||
{% ifnothascontent footer %} | ||
{% include ksio/widgets/share.html %} | ||
{% include ksio/widgets/toc.html %} | ||
{% endifnothascontent %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% if page.ksio_slot_header %} | ||
{% include "{{ page.ksio_slot_header | replace: '.html', '' }}.html" %} | ||
{% else %} | ||
{% ifhascontent header_content %} | ||
{% contentblock header_content %} | ||
{% endifhascontent %} | ||
{% ifnothascontent header_content %} | ||
{% if page.ksio_slot_title %} | ||
<h1 class="Article-title">{% include "{{ page.ksio_slot_title | replace: '.html', '' }}.html" %}</h1> | ||
{% else %} | ||
{% ifhascontent post_title %} | ||
<h1 class="Article-title">{% contentblock post_title %}</h1> | ||
{% endifhascontent %} | ||
{% ifnothascontent post_title %} | ||
<h1 class="Article-title">{{ page.title }}</h1> | ||
{% endifnothascontent %} | ||
{% endif %} | ||
{% if page.ksio_slot_meta %} | ||
{% include "{{ page.ksio_slot_meta | replace: '.html', '' }}.html" %} | ||
{% else %} | ||
{% ifhascontent post_meta %} | ||
{% contentblock post_meta %} | ||
{% endifhascontent %} | ||
{% endif %} | ||
{% endifnothascontent %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% if site.ksio.social.comment %} | ||
{% if site.ksio.social.comment.disqus %}{% include ksio/widgets/disqus.html %}{% endif %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters