Customisation TiddlyWiki
This commit is contained in:
parent
699c9906d2
commit
91e38627f2
|
@ -186,23 +186,19 @@ done
|
||||||
## TODO compare with /tmp/friend_of_mine
|
## TODO compare with /tmp/friend_of_mine
|
||||||
|
|
||||||
|
|
||||||
## ADD tiddlywiki #TODO REMOVE #PUT in ISOConfig for next install
|
|
||||||
[[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/index.html ]] && mkdir -p ~/.zen/ipfs/.${IPFSNODEID} && cp ~/.zen/astrXbian/.install/templates/tiddlywiki/index.html ~/.zen/ipfs/.${IPFSNODEID}/index.html
|
|
||||||
|
|
||||||
##
|
##
|
||||||
echo "####################################################
|
echo "####################################################
|
||||||
Customisation TiddlyWiki"
|
Customisation TiddlyWiki"
|
||||||
zuid="$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid )"
|
[[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/index.html ]] && mkdir -p ~/.zen/ipfs/.${IPFSNODEID} && cp ~/.zen/astrXbian/.install/templates/tiddlywiki/index.html ~/.zen/ipfs/.${IPFSNODEID}/index.html
|
||||||
wiki="/home/$USER/.zen/ipfs/.$IPFSNODEID/index.html"
|
|
||||||
|
|
||||||
# sed -i "s/Moa/<a href=\"https:\/\/www.gchange.fr\/#\/app\/user\/$G1PUB\">(____) $zuid (_____)<\/a>/g" $wiki ## (star) pseudo (score)
|
zuid="$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid )"
|
||||||
sed -i "s/Moa/$zuid/g" $wiki ## (star) pseudo (score)
|
wiki="/home/$USER/.zen/ipfs/.$IPFSNODEID/index.html"
|
||||||
GTITLE="$(cat ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_g1.gchange_title)"
|
|
||||||
sed -i "s/$zuid/$GTITLE/g" $wiki ## (star) pseudo (score)
|
sed -i "s/Moa/$zuid/g" $wiki ## (star) pseudo (score)
|
||||||
# sed -i "s/GettingStarted/<a href=\"https:\/\/tube.copylaradio.com\/ipns\/$IPFSNODEID\/.$IPFSNODEID\">$IPFSNODEID<\/a>/g" $wiki
|
GTITLE="$(cat ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_g1.gchange_title)"
|
||||||
sed -i "s/GettingStarted/$IPFSNODEID/g" $wiki
|
sed -i "s/$zuid/$GTITLE/g" $wiki ## (star) pseudo (score)
|
||||||
# sed -i "s/Bienvenue/<a href=\"https:\/\/demo.cesium.app\/#\/app\/wot\/$G1PUB\">$G1PUB<\/a>/g" $wiki
|
sed -i "s/GettingStarted/$IPFSNODEID/g" $wiki
|
||||||
sed -i "s/Bienvenue/$G1PUB/g" $wiki
|
sed -i "s/Bienvenue/$G1PUB/g" $wiki
|
||||||
## sed -i "s/Personnalisez/$G1PUB/g" $wiki ##
|
## sed -i "s/Personnalisez/$G1PUB/g" $wiki ##
|
||||||
|
|
||||||
# https:\/\/www.gchange.fr\/#\/app\/records\/wallet?q=$G1PUB
|
# https:\/\/www.gchange.fr\/#\/app\/records\/wallet?q=$G1PUB
|
||||||
|
|
Loading…
Reference in New Issue