tiddler astroport tag

This commit is contained in:
fred 2022-04-23 03:47:27 +02:00
parent ef25f477c0
commit 19129c3bf1
1 changed files with 2 additions and 2 deletions

View File

@ -417,11 +417,11 @@ MIME=$(file --mime-type "$HOME/astroport/${TYPE}/${REFERENCE}/${file}" | cut -d
if [[ $(echo "$MIME" | grep 'video') ]]; then
TEXT="<video controls><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'></video><h1>"${TITLE}"</h1>"
MIME="txt/html"
TAGS="${CAT}"
TAGS="${CAT} astroport"
CANON=''
else
TEXT=''
TAGS='$:/isAttachment $:/isIpfs '${CAT}
TAGS='$:/isAttachment $:/isIpfs astroport '${CAT}
CANON="/ipfs/"${IPFSID}
fi