#!/usr/bin/env -S node --experimental-fetch require('./Lib/Syncers.js').importAll(); const JSDOM = require('jsdom').JSDOM; const Html2Markdown = require('./Lib/Html2Markdown.js').Transform; const BlogURL = 'https://listed.to/@u8'; // Full base URL of the Listed blog (any server) const SiteName = 'sitoctt'; //const DefaultMode = 'Include' // 'Include' or 'Exclude' | Not implemented const PostsFileDate = true; // Append dates (YYYY-MM-DD) to posts file names const FrontmatterNew = { createdon: "Date", updatedon: "Lastmod", editedon: "Lastmod", image: "Featured_Image", categories: [], urls: ["Aliases"], htmltitle: false, }; let Replacements = { // Format: { ReplaceWithString: [ToFindString] } "

{{% i18n notes-refs %}}

": "

🏷️ Note e Riferimenti

", //'
': ['

', '
\n
'], //'">
': '

', ' href="{{< assetsRoot >}}/': ' href="https://sitoctt-assets.octt.eu.org/', ' src="{{< assetsRoot >}}/': ' src="https://sitoctt-assets.octt.eu.org/', // TODO: Fix anchor rels }; let LateReplacements = { "{{< assetsRoot >}}": "{{< assetsRoot >}}", '