Adding script URL to generated HTML?

32 views
Skip to first unread message

petter

unread,
Mar 7, 2017, 12:43:34 AM3/7/17
to weblocks
Are there any docs/examples on how to add script to a weblocks app, e.g. I need to insert:

<script async src="//url/blabla.js"></script>
<script some js here></script>

Into the generated pages.


http://weblocks-framework.info/ only returns 404 ATM

Олексій Замковий

unread,
Mar 8, 2017, 10:22:42 PM3/8/17
to webl...@googlegroups.com
you can do (write-string "<string>" weblocks:*weblocks-output-stream*)
It should work for your case.
> --
> You received this message because you are subscribed to the Google Groups
> "weblocks" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weblocks+u...@googlegroups.com.
> To post to this group, send email to webl...@googlegroups.com.
> Visit this group at https://groups.google.com/group/weblocks.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages