From 30cd4499f30c3e79ab8f99e447e374d5e82c861c Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Fri, 10 Jan 2025 00:30:28 -0500 Subject: [PATCH] better URL linebreaks + MP3 refs --- themes/v2/assets/css/style.scss | 2 +- themes/v2/layouts/archive/single.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/themes/v2/assets/css/style.scss b/themes/v2/assets/css/style.scss index 6745e6d..e0a2016 100644 --- a/themes/v2/assets/css/style.scss +++ b/themes/v2/assets/css/style.scss @@ -227,7 +227,6 @@ audio::-webkit-media-controls-panel { @media print { body { background-color: white; - font-size: 24px; padding: 0; } @@ -244,6 +243,7 @@ audio::-webkit-media-controls-panel { color: #eee; content: " [" attr(href) "]"; font-weight: normal; + word-break: break-all; } } diff --git a/themes/v2/layouts/archive/single.html b/themes/v2/layouts/archive/single.html index cd71fc1..c5d3b63 100644 --- a/themes/v2/layouts/archive/single.html +++ b/themes/v2/layouts/archive/single.html @@ -24,8 +24,7 @@ Posted {{ .Date | time.Format "2006-01-02" }} - {{ $audioLink := printf "$3" (substr .Site.BaseURL 0 -1) }} - {{ replaceRE `` $audioLink .Content | safeHTML }} + {{ replaceRE `` "$3" .Content | safeHTML }} {{ end }} {{ end }}