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