From ced962508304c4ace6880ea10fdad064c37d946d Mon Sep 17 00:00:00 2001 From: Landon Taylor Date: Tue, 10 Jun 2025 14:13:19 -0600 Subject: [PATCH] bug fix --- assets/sass/_layout.sass | 2 +- layouts/section.html | 2 +- layouts/shortcodes/closed-source.html | 6 ++++++ layouts/shortcodes/inactive.html | 12 ++++++++++++ layouts/term.html | 2 +- layouts/tools/page.html | 18 +++++++++++++----- 6 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 layouts/shortcodes/closed-source.html create mode 100644 layouts/shortcodes/inactive.html diff --git a/assets/sass/_layout.sass b/assets/sass/_layout.sass index 57315b1..1480b15 100644 --- a/assets/sass/_layout.sass +++ b/assets/sass/_layout.sass @@ -161,7 +161,7 @@ article p margin: 0.5rem 0 font-size: 1rem - color: $text-subtle + color: $text font-weight: 300 .subtitle diff --git a/layouts/section.html b/layouts/section.html index e9fbe06..7855eab 100644 --- a/layouts/section.html +++ b/layouts/section.html @@ -5,7 +5,7 @@ {{ range .Pages }}

{{ .Title }}

-

{{ .Content | truncate 100 }}

+

{{ .Content | plainify | truncate 100 }}

{{ end }} diff --git a/layouts/shortcodes/closed-source.html b/layouts/shortcodes/closed-source.html new file mode 100644 index 0000000..352fd02 --- /dev/null +++ b/layouts/shortcodes/closed-source.html @@ -0,0 +1,6 @@ +
+ + [ + Closed-Source Tool + +
\ No newline at end of file diff --git a/layouts/shortcodes/inactive.html b/layouts/shortcodes/inactive.html new file mode 100644 index 0000000..6d2b4f9 --- /dev/null +++ b/layouts/shortcodes/inactive.html @@ -0,0 +1,12 @@ + + +
+ + [ + {{ if .Get "year" }} + Not Maintained Since {{ .Get "year" }} + {{ else }} + No Longer Maintained + {{ end }} + ] +
\ No newline at end of file diff --git a/layouts/term.html b/layouts/term.html index 5be3aa8..656b313 100644 --- a/layouts/term.html +++ b/layouts/term.html @@ -26,7 +26,7 @@ {{ range .Pages }} {{ .LinkTitle }} - {{ .Content | truncate 200 }} + {{ .Content | plainify | truncate 100 }}