fixed conflicts
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
|
@ -1,22 +1,8 @@
|
|||
---
|
||||
<<<<<<< HEAD
|
||||
title: "Adam Madej - Gameplay Animator"
|
||||
tags: [Portfolio Site,Blog,Personal Site]
|
||||
externalUrl: "http://www.adammadej.com/"
|
||||
date: 9920-08-08
|
||||
=======
|
||||
<<<<<<<< HEAD:exampleSite/content/users/fahru.my.id/index.it.md
|
||||
title: "fahru.my.id"
|
||||
tags: [Sito personale]
|
||||
externalUrl: "https://www.fahru.my.id"
|
||||
date: 9989-08-08
|
||||
========
|
||||
title: "Adam Madej - Gameplay Animator"
|
||||
tags: [Portfolio Site,Blog,Personal Site]
|
||||
externalUrl: "http://www.adammadej.com/"
|
||||
date: 9919-08-08
|
||||
>>>>>>>> dev:exampleSite/content/users/Adam Madej - Gameplay Animator/index.md
|
||||
>>>>>>> dev
|
||||
showDate: false
|
||||
showAuthor: false
|
||||
showReadingTime: false
|
||||
|
@ -25,7 +11,3 @@
|
|||
showViews: false
|
||||
layoutBackgroundHeaderSpace: false
|
||||
---
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
>>>>>>> dev
|
||||
|
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 147 KiB |
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 115 KiB |
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 185 KiB After Width: | Height: | Size: 184 KiB |
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
@ -1,15 +1,8 @@
|
|||
---
|
||||
<<<<<<<< HEAD:exampleSite/content/users/fahru.my.id/index.it.md
|
||||
title: "fahru.my.id"
|
||||
tags: [Sito personale]
|
||||
externalUrl: "https://www.fahru.my.id"
|
||||
date: 9989-08-08
|
||||
========
|
||||
title: "Adam Madej - Gameplay Animator"
|
||||
tags: [Portfolio Site,Blog,Personal Site]
|
||||
externalUrl: "http://www.adammadej.com/"
|
||||
date: 9919-08-08
|
||||
>>>>>>>> dev:exampleSite/content/users/Adam Madej - Gameplay Animator/index.md
|
||||
showDate: false
|
||||
showAuthor: false
|
||||
showReadingTime: false
|
||||
|
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
@ -2,11 +2,7 @@
|
|||
title: "innerknowing"
|
||||
tags: [Personal site,Modeller]
|
||||
externalUrl: "https://innerknowing.xyz/en/"
|
||||
<<<<<<< HEAD
|
||||
date: 9924-08-08
|
||||
=======
|
||||
date: 9923-08-08
|
||||
>>>>>>> dev
|
||||
showDate: false
|
||||
showAuthor: false
|
||||
showReadingTime: false
|
||||
|
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 160 KiB |
|
@ -125,15 +125,15 @@ puppeteer
|
|||
|
||||
if (!fs.existsSync(dir)) {
|
||||
fs.mkdirSync(dir);
|
||||
console.log(i, users[i].title);
|
||||
fs.writeFileSync(dir + '/index.md', userMDFile);
|
||||
for (var j in targetLangs) {
|
||||
var content = await translateFrontMatterTags(userMDFile, targetLangs[j], users[i].tags);
|
||||
fs.writeFileSync(dir + '/index.' + targetLangs[j] + '.md', content);
|
||||
}
|
||||
await page.goto(users[i].url);
|
||||
await page.screenshot({ path: dir + "/feature.jpg" });
|
||||
}
|
||||
console.log(i, users[i].title);
|
||||
fs.writeFileSync(dir + '/index.md', userMDFile);
|
||||
for (var j in targetLangs) {
|
||||
var content = await translateFrontMatterTags(userMDFile, targetLangs[j], users[i].tags);
|
||||
fs.writeFileSync(dir + '/index.' + targetLangs[j] + '.md', content);
|
||||
}
|
||||
await page.goto(users[i].url);
|
||||
await page.screenshot({ path: dir + "/feature.jpg" });
|
||||
}
|
||||
|
||||
await browser.close();
|
||||
|
|