Better comments section

This commit is contained in:
cool-mist 2023-04-21 00:23:12 +05:30
parent b9268713e4
commit 8a734ea25d
3 changed files with 15 additions and 4 deletions

View File

@ -27,11 +27,18 @@ layout: default
{{ content }} {{ content }}
</div> </div>
<hr/> <hr/>
<div class="comments">
<b>Have something to say? You can ...</b>
<br/>
<ul>
{% if page.discussion %} {% if page.discussion %}
<div class="entry"> <li>Comment on the below box by authorizing the <a href=https://giscus.app> Gisqus </a> app on your github account.</li>
You can also send out an email with your comments @ neophytenuggets@protonmail.me <li>Comment directly on the <a href="https://github.com/cool-mist/bbb/discussions/{{ page.discussion }}">github discussion page for this article</a>.</li>
{% endif %}
<li>Send an email with your comments to <u>neophytenuggets@proton.me</u>.</li>
</ul>
</div> </div>
<hr/> {% if page.discussion %}
<script src="https://giscus.app/client.js" <script src="https://giscus.app/client.js"
data-repo="cool-mist/bbb" data-repo="cool-mist/bbb"
data-repo-id="MDEwOlJlcG9zaXRvcnkzMTkzNTk1MTI=" data-repo-id="MDEwOlJlcG9zaXRvcnkzMTkzNTk1MTI="

View File

@ -1136,6 +1136,9 @@ Modules - reusable parts of our design
} }
} }
.comments {
font-size: 0.8em;
}
// Settled on moving the import of syntax highlighting to the bottom of the CSS // Settled on moving the import of syntax highlighting to the bottom of the CSS
// ... Otherwise it really bloats up the top of the CSS file and makes it difficult to find the start // ... Otherwise it really bloats up the top of the CSS file and makes it difficult to find the start

View File

@ -47,3 +47,4 @@ layout: default
{% endif %} {% endif %}
</div> </div>