\n\t*<(code|samp)( |>)' '' \ | sd '.span itemprop="familyName"' ' diff --git a/layouts/shortcodes/indieweb-icon.html b/layouts/shortcodes/indieweb-icon.html index b33bcf5..32c92a9 100644 --- a/layouts/shortcodes/indieweb-icon.html +++ b/layouts/shortcodes/indieweb-icon.html @@ -2,9 +2,9 @@ {{- $favicon_base64 := $favicon.Content | base64Encode -}} {{- $favicon_svg := resources.Get "/favicon.svg" | resources.Fingerprint "md5" -}} {{- if in site.BaseURL ".onion" -}} - + {{- else -}} - + {{- end }} diff --git a/linter-configs/budget.json b/linter-configs/budget.json index e352361..afba562 100644 --- a/linter-configs/budget.json +++ b/linter-configs/budget.json @@ -31,7 +31,7 @@ }, { "resourceType": "document", - "budget": 75 + "budget": 70 }, { "resourceType": "image", diff --git a/scripts/xhtmlize-single-file.sh b/scripts/xhtmlize-single-file.sh index c9f7ce3..794e643 100644 --- a/scripts/xhtmlize-single-file.sh +++ b/scripts/xhtmlize-single-file.sh @@ -35,7 +35,7 @@ sed 7d "$html_file" | xmllint --format --encode UTF-8 --noent - | sd '^\t(?:\t)? | sd '|src="[^"]*" ?/>)' '$1 ' \ + | sd -f m 'class="u-photo photo"[^<]*<' 'class="u-photo photo"/> <' \ | sd '([a-z])<(data|time)' '$1 <$2' \ | sd '(]*rel="(?:nofollow ugc|ugc nofollow)"(?:[^>]*)?>liked)' ' $1' \ | sd -s '/>' ' />'<$1$2' \ | sd '(?:\n)?(code|samp)>\n(?:[\t\s]*)?' '$1>