diff --git a/css/style.css b/css/style.css index 69c1706..e90c57b 100644 --- a/css/style.css +++ b/css/style.css @@ -1984,6 +1984,9 @@ button:focus:not(:focus-visible) { .post-share-btn .bd-icon { margin-right: 0; } +/* Separate the comments widget from the share row so it doesn't feel cramped. */ +.utterances { margin-top: var(--space-xl) !important; } + /* ======================================== PREV / NEXT ARTICLE NAV ======================================== */ diff --git a/index.php b/index.php index e285909..9eae6aa 100644 --- a/index.php +++ b/index.php @@ -9,7 +9,7 @@ // below to override. Empty -> the icon is hidden. $blowditEmail = ''; if (isset($site)) { - // Bludit's accessor is getValue(); fall back to getField() just in case. + // Try Bludit's site settings (accessor is getValue(); getField() as backup). $bdGet = method_exists($site, 'getValue') ? 'getValue' : (method_exists($site, 'getField') ? 'getField' : null); if ($bdGet) { @@ -17,7 +17,9 @@ if (empty($blowditEmail)) { $blowditEmail = $site->$bdGet('email'); } } } - // $blowditEmail = 'you@example.com'; // <- uncomment to set manually + // Bludit's sender email isn't always exposed to themes (it's an SMTP/plugin + // setting), so fall back to a fixed address. Set to '' to hide the icon. + if (empty($blowditEmail)) { $blowditEmail = 'contact@interlope.xyz'; } $blowditTwitterHandle = '@spleenftw'; // twitter:site / twitter:creator; '' to omit // Read the theme from a cookie so the root element can be rendered