mailr27580 - /website/api/rehead.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 06, 2015 - 10:43:
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.




Related Messages


Powered by MHonArc, Updated Fri Feb 06 11:00:03 2015