From df8a64cae8c0efc7deb466c17a5ded9c3f49d12a Mon Sep 17 00:00:00 2001 From: The 64th Gamer <69170079+The64thGamer@users.noreply.github.com> Date: Wed, 11 Sep 2024 02:04:43 -0500 Subject: [PATCH] Fix --- themes/sixtyth-fortran/layouts/partials/baseArticle.html | 6 ++---- themes/sixtyth-fortran/layouts/partials/markdownify.html | 1 - themes/sixtyth-fortran/layouts/partials/user.html | 7 +++---- 3 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 themes/sixtyth-fortran/layouts/partials/markdownify.html diff --git a/themes/sixtyth-fortran/layouts/partials/baseArticle.html b/themes/sixtyth-fortran/layouts/partials/baseArticle.html index c6757cb843..40fc3596ec 100644 --- a/themes/sixtyth-fortran/layouts/partials/baseArticle.html +++ b/themes/sixtyth-fortran/layouts/partials/baseArticle.html @@ -1,11 +1,9 @@ -

{{ partialCached "markdownify" .Title }}

-
+

{{ .Title | markdownify | safeHTML }}


{{ $dateMachine := partialCached "formatDate" (dict "Date" .Date "Format" "2006-01-02T15:04:05-07:00") }} {{ $dateHuman := partialCached "formatDate" (dict "Date" .Date "Format" ":date_long") }} - -{{ partialCached "markdownify" .Content }} +{{ .Content | markdownify | safeHTML }}
Article Contributed By: diff --git a/themes/sixtyth-fortran/layouts/partials/markdownify.html b/themes/sixtyth-fortran/layouts/partials/markdownify.html deleted file mode 100644 index 089117166d..0000000000 --- a/themes/sixtyth-fortran/layouts/partials/markdownify.html +++ /dev/null @@ -1 +0,0 @@ -{{ . | markdownify | safeHTML }} diff --git a/themes/sixtyth-fortran/layouts/partials/user.html b/themes/sixtyth-fortran/layouts/partials/user.html index 6dd62728a3..6dc459483d 100644 --- a/themes/sixtyth-fortran/layouts/partials/user.html +++ b/themes/sixtyth-fortran/layouts/partials/user.html @@ -1,13 +1,12 @@ -

{{ partialCached "markdownify" .Title }}

-
+

{{ .Title | markdownify | safeHTML }}


{{ $dateMachine := partialCached "formatDate" (dict "Date" .Date "Format" "2006-01-02T15:04:05-07:00") }} {{ $dateHuman := partialCached "formatDate" (dict "Date" .Date "Format" ":date_long") }} -{{ partialCached "markdownify" .Content }} +{{ .Content | markdownify | safeHTML }}
-

{{ partialCached "markdownify" .Title }} contributed to these pages!

+

I contributed to these pages!

{{ $currentTitle := .Title }} {{ $pages := where .Site.Pages "Section" "wiki" }}