Skip to content

understanding template.frontmatter and other things to adapt a theme #3016

Answered by yazae
yazae asked this question in Q&A
Discussion options

You must be logged in to vote

Nevermind, I found my problem :

                    backlinks.push({
                        url: otherNote.url,
                        title: otherNote.data.title,
                        description: otherNote.data.description, //MY CODE
                        preview
                    })

just adding the description like any other item in eleventy worked, without trying to touch the other part of the code. I feel very dumb but it works !

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yazae
Comment options

Answer selected by yazae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant