Do not print the comments form (#1195)
Add `.page__comments-form` to "non-printing" selectors in print styles
This commit is contained in:
parent
ded8afcc32
commit
2939d45ecc
2 changed files with 43 additions and 40 deletions
|
@ -47,6 +47,7 @@
|
||||||
<!-- End static comments -->
|
<!-- End static comments -->
|
||||||
|
|
||||||
<!-- Start new comment form -->
|
<!-- Start new comment form -->
|
||||||
|
<div class="page__comments-form">
|
||||||
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
||||||
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
||||||
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v1/entry/{{ site.repository }}/{{ site.staticman.branch }}">
|
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v1/entry/{{ site.repository }}/{{ site.staticman.branch }}">
|
||||||
|
@ -86,6 +87,7 @@
|
||||||
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
<!-- End new comment form -->
|
<!-- End new comment form -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -228,6 +228,7 @@
|
||||||
.pagination,
|
.pagination,
|
||||||
.ads,
|
.ads,
|
||||||
.page__footer,
|
.page__footer,
|
||||||
|
.page__comments-form,
|
||||||
.author__avatar,
|
.author__avatar,
|
||||||
.author__content,
|
.author__content,
|
||||||
.author__urls-wrapper,
|
.author__urls-wrapper,
|
||||||
|
|
Loading…
Reference in a new issue