Author: bugman
Date: Fri Feb  6 10:43:07 2015
New Revision: 27580

URL: http://svn.gna.org/viewcvs/relax?rev=27580&view=rev
Log:
Google analytics <script> tags can now be handled in the index.html and 
frames.html files by rehead.py.


Modified:
    website/api/rehead.py

Modified: website/api/rehead.py
URL: 
http://svn.gna.org/viewcvs/relax/website/api/rehead.py?rev=27580&r1=27579&r2=27580&view=diff
==============================================================================
--- website/api/rehead.py       (original)
+++ website/api/rehead.py       Fri Feb  6 10:43:07 2015
@@ -148,7 +148,7 @@
                     pre_modified = True
 
                 # Google analytics insertion.
-                if index == 4 and line[:-1] == "  <!--Google analytics JS-->":
+                if index in [2, 4] and line[:-1] == "  <!--Google analytics 
JS-->":
                     analytics = True
 
                 # Short headers.


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to