Mercurial > hg-website
changeset 402:4e908cffaa62
Add static.js symlink
Matt used to add the symlink to the root directory as 'static.js'. We need to
ensure that we link from the static directory.
author | David Soria Parra <davidsp@fb.com> |
---|---|
date | Tue, 11 Mar 2014 14:30:30 -0700 |
parents | 4d4c4b73808e |
children | 74b12fc80d9e |
files | static/sources.js templates/base.html |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/static/sources.js Tue Mar 11 14:30:30 2014 -0700 @@ -0,0 +1,1 @@ +../sources.js \ No newline at end of file
--- a/templates/base.html Sat Mar 08 02:03:33 2014 +0000 +++ b/templates/base.html Tue Mar 11 14:30:30 2014 -0700 @@ -5,7 +5,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="{{ url_for('static', filename='css/styles.css') }}" type="text/css" rel="stylesheet"> <script type="text/javascript" src="{{ url_for('static', filename='js/common.js') }}"></script> - <script type="text/javascript" src="/sources.js"></script> + <script type="text/javascript" src="{{ url_for('static', filename='sources.js') }}"></script> <script type="text/javascript" src="{{ url_for('static', filename='js/download.js') }}"></script> <script language="javascript"> Downloader.init(sources);