From 9d26fb9ebf8261e161ec9125a5e0f5cb9c984ccb Mon Sep 17 00:00:00 2001 From: Lars Olesen Date: Tue, 22 Aug 2017 09:38:24 +0200 Subject: [PATCH 1/3] Do not print the comments form --- _includes/comments.html | 80 +++++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/_includes/comments.html b/_includes/comments.html index 6f57edc95042..cfd9b2e3261d 100644 --- a/_includes/comments.html +++ b/_includes/comments.html @@ -47,49 +47,51 @@

{{ site.data.ui-text[site.locale].comments_titl -

{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}

-

{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} *

-
-
- - {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }} -
+
+

{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}

+

{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} *

+ +
+ + {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }} +
-
- - - -
-
- - -
-
- - -
-
- - -
- - - - -
- -
- +
+ + + +
+
+ + +
+
+ + +
+
+ + +
+ + + + +
+ +
+ +
{% endif %} {% when "custom" %}
{% endcase %} - \ No newline at end of file + From 1e67845e18fadab10cd1ca284e727b2739c349e4 Mon Sep 17 00:00:00 2001 From: Lars Olesen Date: Tue, 22 Aug 2017 15:19:26 +0200 Subject: [PATCH 2/3] Remove no-print --- _includes/comments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/comments.html b/_includes/comments.html index cfd9b2e3261d..1df73b3d4ea0 100644 --- a/_includes/comments.html +++ b/_includes/comments.html @@ -47,7 +47,7 @@

{{ site.data.ui-text[site.locale].comments_titl -
+

{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}

{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} *

From 2da4a7c2b300ff84243d4090b9901cb414d7405c Mon Sep 17 00:00:00 2001 From: Lars Olesen Date: Tue, 22 Aug 2017 15:20:11 +0200 Subject: [PATCH 3/3] Added page__comments-form element to no print --- _sass/minimal-mistakes/_print.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_sass/minimal-mistakes/_print.scss b/_sass/minimal-mistakes/_print.scss index c4992dcb7bb8..468dd0fca811 100644 --- a/_sass/minimal-mistakes/_print.scss +++ b/_sass/minimal-mistakes/_print.scss @@ -228,6 +228,7 @@ .pagination, .ads, .page__footer, + .page__comments-form, .author__avatar, .author__content, .author__urls-wrapper, @@ -235,4 +236,4 @@ .adsbygoogle { display: none !important; } -} \ No newline at end of file +}