diff --git a/layouts/partials/search.html b/layouts/partials/search.html index f732fcc..e66ad66 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -1,13 +1,13 @@ -{{- $actionBase := "https:/seirdy.one/" -}} -{{- if (in site.BaseURL ".onion") -}} - {{- $actionBase = site.BaseURL -}} +{{- $action := "https:/seirdy.one/search/" -}} +{{- if or (in site.BaseURL ".onion") -}} + {{- $action = "http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion/search/" -}} {{- end -}}
+ action="{{ $action }}" method="get" role="search">
diff --git a/layouts/shortcodes/indieweb-icon.html b/layouts/shortcodes/indieweb-icon.html index 2419cfc..ee18a6e 100644 --- a/layouts/shortcodes/indieweb-icon.html +++ b/layouts/shortcodes/indieweb-icon.html @@ -11,4 +11,4 @@ -{{- end -}} +{{- end }} diff --git a/scripts/xhtmlize-single-file.sh b/scripts/xhtmlize-single-file.sh index ad12cb7..40f3231 100644 --- a/scripts/xhtmlize-single-file.sh +++ b/scripts/xhtmlize-single-file.sh @@ -34,7 +34,7 @@ sed 7d "$html_file" | xmllint --format --encode UTF-8 --noent - | sd '^\t' '' >" | sd '\n\t*<(code|samp)( |>)' '
<$1$2' \
 		| sd '(?:\n)?\n(?:[\t\s]*)?
' '' \ | sd '.span itemprop="familyName"' ' ' ' ' \ + | sd '(|src="[^"]*" ?/>)' '$1 ' \ | sd '([a-z])<(data|time)' '$1 <$2' } >>"$xhtml_file"