forked from axiom-team/astrXbian
tiddler astroport tag
This commit is contained in:
parent
ef25f477c0
commit
19129c3bf1
|
@ -417,11 +417,11 @@ MIME=$(file --mime-type "$HOME/astroport/${TYPE}/${REFERENCE}/${file}" | cut -d
|
||||||
if [[ $(echo "$MIME" | grep 'video') ]]; then
|
if [[ $(echo "$MIME" | grep 'video') ]]; then
|
||||||
TEXT="<video controls><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'></video><h1>"${TITLE}"</h1>"
|
TEXT="<video controls><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'></video><h1>"${TITLE}"</h1>"
|
||||||
MIME="txt/html"
|
MIME="txt/html"
|
||||||
TAGS="${CAT}"
|
TAGS="${CAT} astroport"
|
||||||
CANON=''
|
CANON=''
|
||||||
else
|
else
|
||||||
TEXT=''
|
TEXT=''
|
||||||
TAGS='$:/isAttachment $:/isIpfs '${CAT}
|
TAGS='$:/isAttachment $:/isIpfs astroport '${CAT}
|
||||||
CANON="/ipfs/"${IPFSID}
|
CANON="/ipfs/"${IPFSID}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue