clabango icon indicating copy to clipboard operation
clabango copied to clipboard

Include doesn't seem to work

Open clojens opened this issue 11 years ago • 3 comments

I've tried everything I could in Luminus but no way "include" will work. Any other magic required that didn't get mentioned perhaps? Am I missing something?

update: It still doesn't work like expected, but now I just rendered it (a menu to plug in) as a key of the object sent to the template and it includes the menu I wanted.

Anyhow it seems to be a lack of understanding / Luminus perhaps on my part. Either their guide is missing information or it's broken.

extends inline This tag is also used in template inheritance -- It defines the current template as inheriting from another.

Note use of the word also. For what other purposes is it used then?

clojens avatar May 23 '13 20:05 clojens

Ok so first of all, this project (clabango) is not luminus and has nothing to do with luminus. I don't use luminus and if your problem stems from some integration or something else it's doing then I don't think I can help you.

That being said, if there's a problem in clabango I very much want to fix it and I'd appreciate your help.

Could you submit a more detailed description of your problem, though? I have tests that demonstrate include working, so perhaps there's a problem with those tests, or maybe a misunderstanding around how it actually works. But I can't help you with a problem around it just "not working" because you haven't given enough context.


As for the extends documentation, the also is because the tag that's documented above, block/endblock, mentions that it's used for template inheritance.

danlarkin avatar May 24 '13 18:05 danlarkin

@clojens any thoughts?

danlarkin avatar Jun 07 '13 20:06 danlarkin

danlarkin: sorry I've really been occupied with stuff so I hadn't had time to read the messages yet. I picked up the project from which this issue arose so I'll check it out once more today and try to pin-point it better. I'm not that profound in Clojure yet but getting a nice way so I'll try provide some insights/details as I find them this today, this weekend or the next week. Thanks :)

clojens avatar Jun 14 '13 08:06 clojens