index.js
/**
         * additional pages
         * 
         * Note: We use this method to create the pages needed to
         *       display the tags list and individual tags.
         */
additional pages

We use this method to create the pages needed to
display the tags list and individual tags.
additional pages We use this method to create the pages needed to display the tags list and individual tags .
async additionalPages() {
            let pages = []
            pages.push({
                title: config.title,
                path: config.path,
                frontmatter: {
                    layout: config.tags
                }
            })
            for (let tag in tags_collection) {
                pages.push({
                    title: tag,
                    path: config.path + tag + '/',
                    frontmatter: {
                        layout: config.tag,
                        page_tag: tag
                    }
                })
            }
            return pages
        }
async additionalPages ( ) { let pages = [ ] pages . push ( { title : config . title , path : config . path , frontmatter : { layout : config . tags } } ) for ( let tag in tags_collection ) { pages . push ( { title : tag , path : config . path + tag + '/' , frontmatter : { layout : config . tag , page_tag : tag } } ) } return pages }
additional pages
additional pages
// add tags list page // add page for each tag