some site fixes

This commit is contained in:
Evgenii Alekseev 2017-03-24 20:01:23 +03:00
parent 33ec657046
commit d2dec34f6b
2 changed files with 8 additions and 11 deletions

View File

@ -1,7 +1,7 @@
source: . source: .
destination: ./_site destination: ./_site
plugins: ./_plugins plugins_dir: ./_plugins
layouts: ./_layouts layouts_dir: ./_layouts
include: ['.htaccess'] include: ['.htaccess']
exclude: ['.gitignore','Gemfile','Gemfile.lock','README.md'] exclude: ['.gitignore','Gemfile','Gemfile.lock','README.md']
keep_files: ['.git','.svn'] keep_files: ['.git','.svn']
@ -12,9 +12,6 @@ future: true
limit_posts: 0 limit_posts: 0
highlighter: pygments highlighter: pygments
# dropped in 3.0
#relative_permalinks: true
permalink: pretty permalink: pretty
paginate_path: 'blog/:num' paginate_path: 'blog/:num'
@ -52,7 +49,7 @@ kramdown:
entity_output: as_char entity_output: as_char
toc_levels: 1..6 toc_levels: 1..6
smart_quotes: lsquo,rsquo,ldquo,rdquo smart_quotes: lsquo,rsquo,ldquo,rdquo
use_coderay: false enable_coderay: false
coderay: coderay:
coderay_wrap: div coderay_wrap: div

View File

@ -28,25 +28,25 @@
</script> </script>
<![endif]--> <![endif]-->
{% include google_analytics.html %} {% include google_analytics.html %}
{% if page.share == true %} {% if page.share == true or layout.share == true %}
{% include header_sharethis.html %} {% include header_sharethis.html %}
{% endif %} {% endif %}
</head> </head>
{{ content }} {{ content }}
{% if page.comment == true %} {% if page.comment == true or layout.comment == true %}
{% include comment.html %} {% include comment.html %}
{% endif %} {% endif %}
</section> </section>
<footer> <footer>
{% if page.back == 1 %} {% if page.back == 1 or layout.back == 1 %}
{% include footer_back.html %} {% include footer_back.html %}
{% elsif page.back == 2 %} {% elsif page.back == 2 or layout.back == 2 %}
{% include footer_fullback.html %} {% include footer_fullback.html %}
{% endif %} {% endif %}
{% if page.share == true %} {% if page.share == true or layout.share == true %}
{% include footer_sharethis.html %} {% include footer_sharethis.html %}
{% endif %} {% endif %}
{% include footer_sign.html %} {% include footer_sign.html %}