-
-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eleventyComputed not working after 2.0.0-canary.8 #2512
Comments
I'm having the same problem with title: GenericTitle
pagination:
data: collections
size: 1
alias: tag
permalink: /tags/{{ tag }}/
eleventyComputed:
code: "_tag{{ tag }}" #Becomes ""
collection: tag
layout: index
eleventyExcludeFromCollections: true
title: GenericTitle
pagination:
data: collections
size: 1
alias: tag
eleventyComputed:
code: "foo" #Becomes "" when it should be "foo"
permalink: /tags/{{ tag }}/
collection: tag
layout: index
eleventyExcludeFromCollections: true Seems as if |
I think this is working for me in 2.0.0 final: And my output www/tags/home/index.html has the following content: <h1>home</h1>
code="foo" |
I am also observing this issue when trying to follow the tag pagination instructions. Title is not being computed. |
I am seeing something similar: In The title is being computed fine normally, but when I added I tried |
Hi all, this is specifically a problem with nunjucks. If you change your templates to liquid, md, handlebars, etc... it will work properly and more info -> #3120 |
I've just upgraded to 2.0.0-canary.14 from 1.0.1. Almost everything worked great except my tag page.
I use
eleventyComputed
and a filter to recondition the lowercase tags into something more readable. I do it here so I can use it in the<title>
tag and OG metadata, as well as on the page.After upgrading, this doesn't work.
title
is just empty. I've seen a post on another bug suggesting this crept in 2.0.0-canary.9 but I can't see anybody else having this problem.The text was updated successfully, but these errors were encountered: