mirror of
				https://gitlab.com/octtspacc/sitoctt
				synced 2025-06-05 22:09:20 +02:00 
			
		
		
		
	Agg. script; Agg. pagina contatti; Pulizia cod. interno
This commit is contained in:
		| @@ -4,7 +4,7 @@ source ./.env | ||||
|  | ||||
| python3 ../staticoso/Source/Build.py \ | ||||
| 	--SiteDomain="https://sitoctt.octt.eu.org" \ | ||||
| 	--FolderRoots="{'*':'https://octtspacc.gitlab.io', 'Assets':'https://octtspacc.gitlab.io/sitoctt-assets'}" \ | ||||
| 	--FolderRoots="{'*':'https://octtspacc.gitlab.io', 'Assets':'https://sitoctt-assets.octt.eu.org'}" \ | ||||
| 	--DynamicParts="{}" \ | ||||
| 	--MinifyOutput="False" \ | ||||
| 	--MinifyAssets="False" \ | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  | ||||
| python3 ./staticoso/Source/Build.py \ | ||||
| 	--SiteDomain="https://sitoctt.octt.eu.org" \ | ||||
| 	--FolderRoots="{'*':'https://octtspacc.gitlab.io', 'Assets':'https://octtspacc.gitlab.io/sitoctt-assets'}" \ | ||||
| 	--FolderRoots="{'*':'https://octtspacc.gitlab.io', 'Assets':'https://sitoctt-assets.octt.eu.org'}" \ | ||||
| 	--DynamicParts="{'Head':['Twemoji.html'], 'Footer':['StatCounter.html'], 'Other':['CountWindow.html']}" \ | ||||
| 	--MastodonURL="https://botsin.space" \ | ||||
| 	--MastodonToken="$MastodonToken" \ | ||||
|   | ||||
| @@ -10,8 +10,9 @@ const PostsFileDate = true; // Append dates (YYYY-MM-DD) to posts file names | ||||
| const Replacements = { // Format: { ReplaceWithString: [ToFindString] } | ||||
| 	"<h2>[:HNotesRefsHTML:]</h2>": "<h2>🏷️ Note e Riferimenti</h2>", | ||||
| 	'<div class="footnotes">': ['<div class="footnotes"><hr>', '<div class="footnotes">\n<hr>'], | ||||
| 	"<a href=\"[staticoso:CustomPath:Assets]/": "<a href=\"https://sitoctt-assets.octt.eu.org/", | ||||
| 	"<img src=\"[staticoso:CustomPath:Assets]/": "<img src=\"https://sitoctt-assets.octt.eu.org/", | ||||
| 	'"><a class="footnote-ref" href="#fn': '"><a href="#fn', | ||||
| 	" href=\"[staticoso:CustomPath:Assets]/": " href=\"https://sitoctt-assets.octt.eu.org/", | ||||
| 	" src=\"[staticoso:CustomPath:Assets]/": " src=\"https://sitoctt-assets.octt.eu.org/", | ||||
| 	// TODO: Fix anchor rels | ||||
| }; | ||||
|  | ||||
| @@ -52,7 +53,7 @@ const CheckDownsync = Body => { | ||||
| 			if (CheckLine.startsWith('// ')) { | ||||
| 				const Tokens = CheckLine.split(' ').filter(i => {return i != ''}); | ||||
| 				if (Tokens[1] == '%' && Tokens[2] == 'downsync' && [':', '='].includes(Tokens[3])) { | ||||
| 					if (['false', 'disabled', 'off', 'no'].includes(Tokens[4])) { | ||||
| 					if (['false', 'disabled', 'off', 'no', '0'].includes(Tokens[4])) { | ||||
| 						return false; | ||||
| 					} else if (Tokens[4].startsWith('/')) { | ||||
| 						return Line.substring(Line.indexOf('/', 2)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user