When I view source I see an empty tag which appears just before the main template block. What's the reason for this. Is there any documentation on overriding outerLayoutBase.html ? (which is probably where this code is coming from)
Why is there an empty in my templates?
Asked
Active
Viewed 47 times
-1
-
1It was more a question of why is ApostropheCMS adding crap into my templates – Tim C Aug 09 '17 at 22:59
1 Answers
1
Most likely used to create a bookmark or anchor, so when you do page.html#main
, it will automatically jump to the beginning of the main template block.
https://www.w3schools.com/Tags/att_a_name.asp
This is deprecated in HTML5 though.

Felix Guo
- 2,700
- 14
- 20