NIHVIVO-649 Add freemarker template flattening to build. Includes flattening of template directory structure in vivo theme, and renaming of templates as needed for clarity.
This commit is contained in:
parent
c11d20f2d5
commit
fe1c4edd24
6 changed files with 9 additions and 9 deletions
20
themes/vivo-basic/templates/googleAnalytics.ftl
Normal file
20
themes/vivo-basic/templates/googleAnalytics.ftl
Normal file
|
@ -0,0 +1,20 @@
|
|||
<#-- NOTICE: This is SAMPLE Google Analytics code. You must replace it with your institution's code.
|
||||
Please see documentation at https://confluence.cornell.edu/display/ennsrd/Google+Analytics+for+UI. -->
|
||||
|
||||
<#--
|
||||
<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("UA-5164622-5");
|
||||
pageTracker._setDomainName("vivo.cornell.edu");
|
||||
pageTracker._setAllowLinker(true);
|
||||
pageTracker._trackPageview();
|
||||
var rollupTracker = _gat._getTracker("UA-12531954-1");
|
||||
rollupTracker._setDomainName("none");
|
||||
rollupTracker._setAllowLinker(true);
|
||||
rollupTracker._trackPageview(location.host+location.pathname);
|
||||
}
|
||||
catch(err) {}
|
||||
</script>
|
||||
-->
|
Loading…
Add table
Add a link
Reference in a new issue