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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue