Sha256: 622863463cb4cf7907829f607df8b81315811f94d2b664df1de0ad7dc4414334

Contents?: true

Size: 1.37 KB

Versions: 92

Compression:

Stored size: 1.37 KB

Contents


const fs = require('fs');

// Define authors data
const authors = [
    {
        label: 'Ankita',
        name: 'Ankita',
    },
    {
        label: 'Keshav',
        name: 'Keshav Agarwal',
    },
    {
        label: 'Anushka',
        name: 'Anushka Guha',
    },
    {
        label: 'Paavan',
        name: 'Thandra Paavan Kumar',
    },
    {
        label: 'Arjyahi',
        name: 'Arjyahi Bhattacharya',
    },
    {
        label: 'Nikita',
        name: 'Nikita Gupta',
    },
    {
        label: 'Alka',
        name: 'Alka Bisht',
    },
    {
        label: 'Siddhika',
        name: 'Siddhika Prajapati',
    },
    {
        label: 'Krutika',
        name: 'Krutika',
    },

    {
        label: 'Shubhangi',
        name: 'Shubhangi Singh',
    },
    {
        label: 'Balark',
        name: 'Balark Singhal',
    },
    {
        label: 'Udit',
        name: 'Udit Agarwal',
    },
    {
        label: 'Pallavi',
        name: 'Pallavi Thakur',
    }
];
// Loop through each author and create a Markdown file
authors.forEach(author => {
    const filename = `./authors/${author.name.toLowerCase().replace(' ', '-')}.md`;

    const htmldata = `---
layout: author
label: ${author.label}
authorName: ${author.name}
permalink: author/${author.name.toLowerCase().replace(' ', '-')}
---
`
    fs.writeFile(filename, htmldata, (err) => {
        if (err) throw err;
    });
});

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
appscms-tools-theme-4.9.4 assets/app.js
appscms-tools-theme-4.9.3 assets/app.js
appscms-tools-theme-4.9.2 assets/app.js
appscms-tools-theme-4.9.1 assets/app.js
appscms-tools-theme-4.9.0 assets/app.js
appscms-tools-theme-4.8.9 assets/app.js
appscms-tools-theme-4.8.8 assets/app.js
appscms-tools-theme-4.8.7 assets/app.js
appscms-tools-theme-4.8.6 assets/app.js
appscms-tools-theme-4.8.5 assets/app.js
appscms-tools-theme-4.8.4 assets/app.js
appscms-tools-theme-4.7.7 assets/app.js
appscms-tools-theme-4.7.6 assets/app.js
appscms-tools-theme-4.7.5 assets/app.js
appscms-tools-theme-4.7.4 assets/app.js
appscms-tools-theme-4.7.3 assets/app.js
appscms-tools-theme-4.7.2 assets/app.js
appscms-tools-theme-4.7.1 assets/app.js
appscms-tools-theme-4.7.0 assets/app.js
appscms-tools-theme-4.6.9 assets/app.js