This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-25
Channels
- # aleph (6)
- # beginners (6)
- # boot (94)
- # cider (34)
- # cljs-dev (36)
- # cljsrn (12)
- # clojure (124)
- # clojure-dev (41)
- # clojure-dusseldorf (6)
- # clojure-italy (3)
- # clojure-norway (1)
- # clojure-russia (161)
- # clojure-sg (7)
- # clojure-spec (71)
- # clojure-uk (95)
- # clojurescript (38)
- # core-async (16)
- # cursive (14)
- # data-science (1)
- # datascript (12)
- # datomic (15)
- # emacs (22)
- # funcool (2)
- # hoplon (15)
- # jobs-rus (2)
- # juxt (9)
- # liberator (7)
- # lumo (1)
- # off-topic (136)
- # onyx (24)
- # pedestal (39)
- # perun (2)
- # planck (20)
- # re-frame (23)
- # spacemacs (31)
- # unrepl (5)
- # untangled (1)
- # vim (1)
- # yada (29)
I have a Django templates (the above snippet) that extends another template (the main/base.html). And I'd like to insert the content of my cljs.hl file in the block. The idea behind it would be to have a "dev" task where I could develop my content in the cljs.hl file as a standalone webpage served by "boot serve" (and without dealing with Django at all). And when I would be happy with it, I would run a "django" task that would export this content and generate the template file that should be used in production.
@wizmer do you need the cljs.hl content to be added statically?
ie 'prerendered'
or is your intent that, when the browser loads the page generated by django, the hoplon content appears via JS
i see
i have an example laying around that might be helpful, let me look
no prob