Nuovi bottoni, fix vecchie pagine, aggiornamento Raccolta siti web

This commit is contained in:
2024-08-29 00:17:05 +02:00
parent 057750938f
commit 724bf1eb45
75 changed files with 593 additions and 316 deletions

View File

@ -15,15 +15,12 @@ const FrontmatterNew = {
htmltitle: false,
};
let Replacements = { // Format: { ReplaceWithString: [ToFindString] }
"<h2>[:HNotesRefsHTML:]</h2>": "<h2>🏷️ Note e Riferimenti</h2>",
"<h2>{{% i18n notes-refs %}}</h2>": "<h2>🏷️ Note e Riferimenti</h2>",
'<div class="footnotes">': ['<div class="footnotes"><hr>', '<div class="footnotes">\n<hr>'],
'"><a class="footnote-ref" href="#fn': '"><a href="#fn',
" href=\"{{< assetsRoot >}}/": " href=\"https://sitoctt-assets.octt.eu.org/",
" src=\"{{< assetsRoot >}}/": " src=\"https://sitoctt-assets.octt.eu.org/",
'<div class="highlight CodeScroll">': '<div class="highlight">',
//'<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';