Correction de l'attribution dans les images de Rebrickable
This commit is contained in:
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -1 +1 @@
|
||||
attribution: "© Rebrickable"
|
||||
attribution: "© [Rebrickable](https://rebrickable.com/)"
|
||||
|
||||
@@ -352,7 +352,7 @@ async function main() {
|
||||
const nameNoExt = base.replace(/\.[^.]+$/, '');
|
||||
const yamlPath = path.join(dataImagesDir, `${nameNoExt}.yaml`);
|
||||
const cleanedTitle = (figTitle || '').trim();
|
||||
const yamlLines = [`attribution: "© Rebrickable"`];
|
||||
const yamlLines = [`attribution: "© [Rebrickable](https://rebrickable.com/)"`];
|
||||
if (cleanedTitle) {
|
||||
yamlLines.push(`title: "${cleanedTitle.replace(/"/g, '\\"')}"`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user