Fixed mobile navigation not closing after link was clicked, changing date output element from span to p tag, added script tag around analytics code output