Revert "Move comments CSS to <head>"

This reverts commit 7a1bf6c19c.

Turns out this doesn't work for some reason.
This commit is contained in:
BBaoVanC 2023-11-11 20:48:50 -06:00
parent 7a1bf6c19c
commit eac66611df
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 4 additions and 6 deletions

View File

@ -1,9 +1,3 @@
{{ if and .Params.comments (eq .Kind "page") }}
{{ with resources.Get "css/comments.css" | fingerprint "sha512" }}
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" media="print" onload="this.media='all'">
{{ end }}
{{ end }}
{{ if eq .Site.BaseURL "https://bbaovanc.com" }}
<script defer data-domain="bbaovanc.com" src="https://plausible.bbaovanc.com/js/bobalytics.outbound-links.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>

View File

@ -1,3 +1,7 @@
{{ with resources.Get "css/comments.css" | fingerprint "sha512" }}
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}
<h2 style="margin-bottom: 0;">Comments</h2>
<p style="margin: 0; font-size: smaller;">
If you provide an email address, you can enable notifications for