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

View File

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