Removed a stray endif tag in layout.html