forked from axiom-team/astrXbian
TilldyWIKI ONE
This commit is contained in:
parent
85cfebc753
commit
7179705469
File diff suppressed because one or more lines are too long
|
@ -191,15 +191,18 @@ echo "####################################################
|
||||||
Customisation TiddlyWiki"
|
Customisation TiddlyWiki"
|
||||||
[[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/index.html ]] && mkdir -p ~/.zen/ipfs/.${IPFSNODEID} && cp ~/.zen/astrXbian/.install/templates/tiddlywiki/index.html ~/.zen/ipfs/.${IPFSNODEID}/index.html
|
[[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/index.html ]] && mkdir -p ~/.zen/ipfs/.${IPFSNODEID} && cp ~/.zen/astrXbian/.install/templates/tiddlywiki/index.html ~/.zen/ipfs/.${IPFSNODEID}/index.html
|
||||||
|
|
||||||
|
# RESET TilldyWIKI (TODO REMOVE)
|
||||||
|
cp ~/.zen/astrXbian/.install/templates/tiddlyone/index.html ~/.zen/ipfs/.${IPFSNODEID}/index.html
|
||||||
|
|
||||||
zuid="$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid )"
|
zuid="$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid )"
|
||||||
wiki="/home/$USER/.zen/ipfs/.$IPFSNODEID/index.html"
|
wiki="/home/$USER/.zen/ipfs/.$IPFSNODEID/index.html"
|
||||||
|
|
||||||
sed -i "s/Moa/$zuid/g" $wiki ## (star) pseudo (score)
|
sed -i "s/Moa/$zuid/g" $wiki ## (star) pseudo (score)
|
||||||
GTITLE="$(cat ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_g1.gchange_title)"
|
GTITLE="$(cat ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_g1.gchange_title | sed 's/\ /-/g')"
|
||||||
sed -i "s/$zuid/$GTITLE/g" $wiki ## (star) pseudo (score)
|
sed -i "s/$zuid/$GTITLE/g" $wiki ## (star) pseudo (score)
|
||||||
sed -i "s/GettingStarted/$IPFSNODEID/g" $wiki
|
sed -i "s/_IPFSNODEID_/$IPFSNODEID/g" $wiki
|
||||||
sed -i "s/Bienvenue/$G1PUB/g" $wiki
|
sed -i "s/_G1PUB_/$G1PUB/g" $wiki
|
||||||
## sed -i "s/Personnalisez/$G1PUB/g" $wiki ##
|
# sed -i "s/Personnalisez/<a href=\"http:\/\/127.0.0.1:8181\/ipns\/$IPFSNODEID\/.$IPFSNODEID\/FRIENDS\">Amis de/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