-
Notifications
You must be signed in to change notification settings - Fork 19
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
There is apparently no support for custom theme options #18
Comments
Thanks for the report. It should support theme variables, however this looks to be potentially unrelated. I'll write a test case for your example and track down the issue. |
I forund a kind of a workaround. Devel version:
Build version:
Then in my layout I can use: data.flickr.username and Middleman will render this differently for development and build. But it's just a workaround. |
Like I said, it should work. It's even tested https://github.com/jasonwebster/tumblargh/blob/master/spec/renderer/blocks_spec.rb#L41 So there's obviously just a bug somewhere. |
Well, I'll try it in a minute. But in a meanwhile I got another problem with code copied from Disqus.
Source is here: And I got meta in header... |
BTW my platform is Linux with Ruby:
Could this cause problems? |
Oh. So, it seems as if when rendering, we don't support conditionals for meta options other than boolean ones. |
Partially fixed with #19 |
Short example from http://www.tumblr.com/docs/en/custom_themes/#theme-options
Input ./test.html.erb :
Output on http://0.0.0.0:4567/test.html :
Could someone give me an advice how to solve this problem?
Does Tumblargh support custom variables and theme options?
The text was updated successfully, but these errors were encountered: