diff --git a/config.toml b/config.toml index b4467f5..a3cfd70 100644 --- a/config.toml +++ b/config.toml @@ -82,3 +82,5 @@ show_source = true host = "mstdn.social" # Used to determine who the original poster is user = "Daudix" +# Display the QR code to Mastodon post (utilizes DuckDuckGo Instant Answer API) +show_qr = true diff --git a/sass/_nav.scss b/sass/_nav.scss index 46067b5..ec2b6f3 100644 --- a/sass/_nav.scss +++ b/sass/_nav.scss @@ -53,7 +53,7 @@ #main-content { background: var(--bg-color); position: absolute; - transform: translateY(-200%); + transform: translateY(-300%); z-index: 999; &:focus { diff --git a/sass/_qrcode.scss b/sass/_qrcode.scss index 81a2a83..a62e599 100644 --- a/sass/_qrcode.scss +++ b/sass/_qrcode.scss @@ -1,10 +1,10 @@ #qrcode { background-color: white; float: right; - height: 155px; + height: 160px; margin: 3rem 0 0 1rem; - padding: 15px; - width: 155px; + padding: 6px; + width: 160px; @media only screen and (max-width: 720px) { & { diff --git a/templates/partials/comments.html b/templates/partials/comments.html index 448f05a..89cf0e6 100644 --- a/templates/partials/comments.html +++ b/templates/partials/comments.html @@ -15,8 +15,21 @@ {% set id = page.extra.comments.id %}
- QR code to a Mastodon post + + {% if config.extra.comments.show_qr %} + QR code to a Mastodon post + + {% endif %}

Comments

You can respond to this post with an account on the