mirror of
https://gitlab.com/octtspacc/sitoctt
synced 2025-06-05 22:09:20 +02:00
Agg. post del'altro di'; Agg. interni
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
staticosoCommit="c35aa94345ce16c9109fd5a9f35c5aa9498fb664"
|
||||
GetArchive() {
|
||||
# $1: Branch name or commit hash
|
||||
wget \
|
||||
-O ./staticoso.tar.bz2 \
|
||||
https://gitlab.com/octtspacc/staticoso/-/archive/$1/staticoso-$1.tar.bz2
|
||||
tar xvf ./staticoso.tar.bz2
|
||||
mv ./staticoso-$1 ./staticoso
|
||||
}
|
||||
|
||||
#git clone --depth 1 https://gitlab.com/octtspacc/staticoso
|
||||
|
||||
wget \
|
||||
-O ./staticoso.tar.bz2 \
|
||||
https://gitlab.com/octtspacc/staticoso/-/archive/$staticosoCommit/staticoso-$staticosoCommit.tar.bz2
|
||||
tar xvf ./staticoso.tar.bz2
|
||||
mv ./staticoso-$staticosoCommit ./staticoso
|
||||
GetArchive Dev
|
||||
|
@@ -14,7 +14,9 @@ let Replacements = { // Format: { ReplaceWithString: [ToFindString] }
|
||||
" href=\"[staticoso:CustomPath:Assets]/": " href=\"https://sitoctt-assets.octt.eu.org/",
|
||||
" src=\"[staticoso:CustomPath:Assets]/": " src=\"https://sitoctt-assets.octt.eu.org/",
|
||||
'<div class="highlight CodeScroll">': '<div class="highlight">',
|
||||
'<iframe src="[:YouTubeURL:]/' :'<iframe src="https://www.youtube-nocookie.com/',
|
||||
//'<iframe src="[:YouTubeURL:]/' :'<iframe src="https://www.youtube-nocookie.com/',
|
||||
'<video src="[:YouTube360:]' :'<iframe src="https://www.youtube-nocookie.com/embed/',
|
||||
'></video>': ' class="YouTube"></iframe>',
|
||||
// TODO: Fix anchor rels
|
||||
};
|
||||
const TestURL = 'https://listed.to/p/hDaMhJ2ts7';
|
||||
|
Reference in New Issue
Block a user