updated users and package version
4
assets/lib/jquery/jquery.slim.min.js
vendored
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 131 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
BIN
exampleSite/content/users/m3upt.com/feature.jpg
Normal file
After Width: | Height: | Size: 101 KiB |
13
exampleSite/content/users/m3upt.com/index.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: "m3upt.com"
|
||||
tags: [Project site]
|
||||
externalUrl: "https://m3upt.com"
|
||||
date: 9945-08-08
|
||||
showDate: false
|
||||
showAuthor: false
|
||||
showReadingTime: false
|
||||
showEdit: false
|
||||
showLikes: false
|
||||
showViews: false
|
||||
layoutBackgroundHeaderSpace: false
|
||||
---
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 93 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 8 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 8.3 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 8.3 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 25 KiB |
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hugo-blowfish-theme",
|
||||
"version": "2.37.0",
|
||||
"version": "2.38.0",
|
||||
"description": "Blowfish theme for Hugo",
|
||||
"scripts": {
|
||||
"fullinstall": "npm run preinstall && npm install && npm run postinstall",
|
||||
|
|
|
@ -17,10 +17,7 @@ for (file in files) {
|
|||
|
||||
let stats = fs.statSync(usersFolderPath + files[file]);
|
||||
if (files[file] != 'users.json' && files[file] != '_index.md') {
|
||||
|
||||
|
||||
if (stats.isDirectory()) {
|
||||
|
||||
if (!userDict[files[file].replaceAll("/", "-")]) {
|
||||
console.log('deleting: ', files[file]);
|
||||
fs.rmdirSync(usersFolderPath + files[file], { recursive: true, force: true });
|
||||
|
@ -45,7 +42,6 @@ puppeteer
|
|||
const page = await browser.newPage();
|
||||
|
||||
for (var i in users) {
|
||||
console.log(i, users[i].title);
|
||||
|
||||
var userMDFile = "---\n\
|
||||
title: \""+ users[i].title + "\"\n\
|
||||
|
@ -67,6 +63,7 @@ puppeteer
|
|||
fs.mkdirSync(dir);
|
||||
}
|
||||
|
||||
console.log(i, users[i].title);
|
||||
fs.writeFileSync(dir + '/index.md', userMDFile);
|
||||
await page.goto(users[i].url);
|
||||
await page.screenshot({ path: dir + "/feature.jpg" });
|
||||
|
|