Skip to content

Commit

Permalink
landing page updates
Browse files Browse the repository at this point in the history
  • Loading branch information
deronsmith committed Oct 31, 2024
1 parent 789aea5 commit ae3f88f
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions views/landing.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,27 +88,6 @@ def hms_landing_page_old(request):
response.write(html)
return response


def file_not_found(reques):
"""
Constructs html for page not found.
:param request: current request object
:return: HttpResponse object
"""
html = render_to_string('01epa_drupal_header.html', {})
html += render_to_string('02epa_drupal_header_bluestripe.html', {})
html += render_to_string('03epa_drupal_section_title.html', {})
if settings.IS_PUBLIC:
html += render_to_string('04qed_splash_landing_public.html', {'title': 'qed'})
else:
html += render_to_string('04qed_splash_landing_intranet.html', {'title': 'qed'})
html += render_to_string('09epa_drupal_splashscripts.html', {})
html += render_to_string('10epa_drupal_footer.html', {})
response = HttpResponse()
response.write(html)
print("page not found")
return response

def file_not_found(request, exception=None):
page_title = "HMS: Hydrologic Micro Services"
keywords = "HMS, Hydrology, Hydrologic Micro Services, EPA"
Expand Down

0 comments on commit ae3f88f

Please sign in to comment.