mirror of https://gitlab.com/octtspacc/sitoctt
fix..
This commit is contained in:
parent
a5ba20f0f5
commit
cd0491be55
|
@ -3,7 +3,7 @@
|
||||||
cd "${swd}/.."
|
cd "${swd}/.."
|
||||||
|
|
||||||
alias asroot=""
|
alias asroot=""
|
||||||
if [ "$(whoami)" != root && "$(uname -o)" != Android ]
|
if [ "$(whoami)" != root ] && [ "$(uname -o)" != Android ]
|
||||||
then alias asroot=sudo
|
then alias asroot=sudo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
$alt $alt
|
$alt $alt
|
||||||
(index $sizes 0) (index $sizes 1)
|
(index $sizes 0) (index $sizes 1)
|
||||||
) | safeHTML -}}
|
) | safeHTML -}}
|
||||||
{{- if .href -}}
|
{{ if .href }}
|
||||||
{{ partial "anchor.html" (dict
|
{{ partial "anchor.html" (dict
|
||||||
"Inner" $img
|
"Inner" $img
|
||||||
"Params" .) }}
|
"Params" .) }}
|
||||||
{{- else -}}
|
{{ else }}
|
||||||
{{ $img }}
|
{{ $img }}
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue