From d2379a271a56e46ff3d560ef18763f2485cefb64 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Wed, 27 Mar 2024 10:12:07 +0000 Subject: [PATCH] Fix nownownow style --- .github/workflows/publish.yml | 5 ++--- assets/scss/_main.scss | 9 --------- layouts/partials/rich-link.html | 2 +- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 437f0a9d..3ac40b05 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,9 +4,8 @@ on: push: branches: ["main"] schedule: - # Rebuild at the first moment of the new year - # ensures that anywhere I'm using year-relative dates stay accurate. - - cron: '0 0 1 1 *' + # Rebuild every day, to update 'year relative' dates, change now page & calendar + - cron: '0 0 * * *' workflow_dispatch: diff --git a/assets/scss/_main.scss b/assets/scss/_main.scss index 1c5394f3..a53a4fee 100644 --- a/assets/scss/_main.scss +++ b/assets/scss/_main.scss @@ -799,15 +799,6 @@ a:hover time { body.nownownow .post-content > p { position: relative; line-height: inherit; - - &::first-letter { - font-size: 2rem; - line-height: 20px; - position: absolute; - margin-left: -4rem; - padding-top: 0.5rem; - float: left; - } } a[href^="/tags/"] { diff --git a/layouts/partials/rich-link.html b/layouts/partials/rich-link.html index 1b839d1d..d3fe1d09 100644 --- a/layouts/partials/rich-link.html +++ b/layouts/partials/rich-link.html @@ -26,4 +26,4 @@ {{- end -}} {{- end -}} {{- end -}} -{{ $text }} \ No newline at end of file +{{ $text | safeHTML }} \ No newline at end of file