Graham
bemethavinci Any file that contains a <script> tag gets treated as a html file when you open it or preview it
just click the 'open in code editor' but do not edit the file using the actual building tool
I think it mostly has something to do with ad avoidance
the extra code is only used to fix problems with old versions of internet explorer
also your _header file contained 3-4 repeats of the headtags code plus a load of extra <body> tags
only the first <body> content in _header or _footer is actually used the rest is discarded
but _headtags is include raw so you don't want any code in that apart from the actual code for the links
I have fixed a couple of other small errors and deleted the extra code from _header
also a word about index files
any index with a . extension like index.html has a higher priority than just index
so the index.html file will show as your index and the 'create' will open the index.html file
plus I forgot to remove the js and css links from index.html so I removed them as they were duplicates of the _headtags and _footer codes
when you want to use your own index just rename the index.html file to something else