-
Notifications
You must be signed in to change notification settings - Fork 115
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
pagevar fails to retrive variables randomly #937
Comments
Please use
(ex: Lines 44 to 50 in cf9e3c7
|
Just encountered this as well. I thought That would be consistent with the docstring for |
Adding @delay does not change anything for me neither. |
@tlienart Any update? |
did you do the version pinning suggested above? (both locally & in the deploy script). There's not much point in me fixing this in depth for Franklin |
Yes, I pinned the version and it works now. How can I test the upcoming version? |
👍 I'll close this issue. If you want to test the new version, have a look at this repository, please read the README as it contains information about the migration and what users should be careful about. Also if you intend to use it, please join the slack channel We're still at beta-testing stage so if you'd rather stick with something that works most of the time (even though Xranklin should, you'll have to adjust a few things, there's also a few features missing), I'd suggest sticking with the pinned version of Franklin for another couple of months. |
Hello @maleadt, sorry for the frustration, I'd recommend you pin Franklin to 10.58 + use This problem has been fixed by overhauling the entirety of the pagevar logic in the upcoming new release which is in prep at Xranklin.jl. It's pretty much ready bar a few minor stuff I need to find some time to complete. |
I tried to update my website to use latest Franklin. But I found a weird bug. The following code failed to retrieve page variables currently.
For some pages,
title = pagevar(surl, :title)
will returnnothing
. And for which pages this happens is random if you runserve(clear=true)
. The linepubdate = pagevar(surl, :pubdate)
also fails at random even whenpubdate
is defined.To reproduce this error, you can clone my website, and update to v0.10.65. The run the website.
The text was updated successfully, but these errors were encountered: