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.6.8 assets/app.js
appscms-tools-theme-4.6.7 assets/app.js
appscms-tools-theme-4.6.6 assets/app.js
appscms-tools-theme-4.6.5 assets/app.js
appscms-tools-theme-4.6.4 assets/app.js
appscms-tools-theme-4.6.3 assets/app.js
appscms-tools-theme-4.5.4 assets/app.js
appscms-tools-theme-4.5.3 assets/app.js
appscms-tools-theme-4.5.2 assets/app.js
appscms-tools-theme-4.5.1 assets/app.js
appscms-tools-theme-4.5.0 assets/app.js
appscms-tools-theme-4.4.9 assets/app.js
appscms-tools-theme-4.4.8 assets/app.js
appscms-tools-theme-4.4.7 assets/app.js
appscms-tools-theme-4.4.6 assets/app.js
appscms-tools-theme-4.4.5 assets/app.js
appscms-tools-theme-4.4.4 assets/app.js
appscms-tools-theme-4.4.3 assets/app.js
appscms-tools-theme-4.4.2 assets/app.js
appscms-tools-theme-4.4.1 assets/app.js