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.4.0 assets/app.js
appscms-tools-theme-4.3.9 assets/app.js
appscms-tools-theme-4.3.8 assets/app.js
appscms-tools-theme-4.3.7 assets/app.js
appscms-tools-theme-4.3.6 assets/app.js
appscms-tools-theme-4.3.5 assets/app.js
appscms-tools-theme-4.3.4 assets/app.js
appscms-tools-theme-4.3.3 assets/app.js
appscms-tools-theme-4.3.2 assets/app.js
appscms-tools-theme-4.3.1 assets/app.js
appscms-tools-theme-4.3.0 assets/app.js
appscms-tools-theme-4.2.9 assets/app.js
appscms-tools-theme-4.2.8 assets/app.js
appscms-tools-theme-4.2.7 assets/app.js
appscms-tools-theme-4.2.6 assets/app.js
appscms-tools-theme-4.2.5 assets/app.js
appscms-tools-theme-4.2.4 assets/app.js
appscms-tools-theme-4.2.3 assets/app.js
appscms-tools-theme-4.2.2 assets/app.js
appscms-tools-theme-4.2.1 assets/app.js