Add external script to <head> in edx

23 views
Skip to first unread message

Terguun Zoregtiin

unread,
Feb 28, 2018, 9:51:12 PM2/28/18
to General Open edX discussion
I need to add an external script tag in the head tag, directly adding it in main.html file of my own theme not working. Any suggestion how I can do that? Thanks in advance!

Mahyar Damavand

unread,
Mar 1, 2018, 2:59:39 AM3/1/18
to edx-...@googlegroups.com
Check these lines at the top of main.html

## This is the main Mako template that all page templates should include. ## Note: there are a handful of pages that use Django Templates and which ## instead include main_django.html. It is important that these two files ## remain in sync, so changes made in one should be applied to the other.


On Thu, Mar 1, 2018 at 6:21 AM Terguun Zoregtiin <talii...@gmail.com> wrote:
I need to add an external script tag in the head tag, directly adding it in main.html file of my own theme not working. Any suggestion how I can do that? Thanks in advance!

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/3adcc27c-4c5c-4a80-96a2-09f8bb01acfc%40googlegroups.com.

Terguun Zoregtiin

unread,
Mar 1, 2018, 7:50:28 AM3/1/18
to General Open edX discussion
Great, thank you very much!

在 2018年3月1日星期四 UTC+8下午3:59:39,Mahyar Damavand写道:
Reply all
Reply to author
Forward
0 new messages