Skip to content

Update index.js#52

Open
wernerglinka wants to merge 1 commit intototocaster:masterfrom
wernerglinka:patch-1
Open

Update index.js#52
wernerglinka wants to merge 1 commit intototocaster:masterfrom
wernerglinka:patch-1

Conversation

@wernerglinka
Copy link

This will allow you to add additional meta data to the generated tag pages like so:

.use(tags({
"handle": "tags",
"path": "topics/:tag.html",
"layout": "blog.html",
"sortBy": "date",
"reverse": true,
"skipMetadata": false,
"addMetadata": {
"body_classes": "blog has-sidebar is-tag-page",
"is_tag_page": true
},
"slug": {
"mode": "rfc3986"
}
}))

This will allow you to add additional meta data to the generated tag pages like so:

.use(tags({
            "handle": "tags",
            "path": "topics/:tag.html",
            "layout": "blog.html",
            "sortBy": "date",
            "reverse": true,
            "skipMetadata": false,
            "addMetadata": {
              "body_classes": "blog has-sidebar is-tag-page",
              "is_tag_page": true
            },
            "slug": {
              "mode": "rfc3986"
            }
        }))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant