From be84967b9ade41359e8e311e519d2ecf7b68287f Mon Sep 17 00:00:00 2001 From: arcan1s Date: Sat, 1 Mar 2014 17:52:18 +0400 Subject: [PATCH] test disqus comments --- _includes/comment.html | 14 ++++++++++++ _includes/footer_comment.html | 41 ----------------------------------- _includes/header_comment.html | 1 - _layouts/default.html | 5 +---- 4 files changed, 15 insertions(+), 46 deletions(-) create mode 100644 _includes/comment.html delete mode 100644 _includes/footer_comment.html delete mode 100644 _includes/header_comment.html diff --git a/_includes/comment.html b/_includes/comment.html new file mode 100644 index 0000000..ef57deb --- /dev/null +++ b/_includes/comment.html @@ -0,0 +1,14 @@ +
+ + +comments powered by Disqus \ No newline at end of file diff --git a/_includes/footer_comment.html b/_includes/footer_comment.html deleted file mode 100644 index 2b9ca86..0000000 --- a/_includes/footer_comment.html +++ /dev/null @@ -1,41 +0,0 @@ - - - -
-{% if page.category == "ru" %} -

Комментарии

-

Хотите оставить комментарий? Посетите эту страницу на GitHub (Вам необходим аккаунт на GitHub).

-{% else %} -

Comments

-

Want to leave a comment? Visit this post's issue page on GitHub (you'll need a GitHub account).

-{% endif %} -
- diff --git a/_includes/header_comment.html b/_includes/header_comment.html deleted file mode 100644 index 5c31542..0000000 --- a/_includes/header_comment.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/_layouts/default.html b/_layouts/default.html index 401ef27..9e685b5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -15,9 +15,6 @@ - {% if page.comment == true %} - {% include header_comment.html %} - {% endif %} {% if page.share == true %} {% include header_sharethis.html %} {% endif %} @@ -26,7 +23,7 @@ {{ content }} {% if page.comment == true %} - {% include footer_comment.html %} + {% include comment.html %} {% endif %}