Skip to content

Commit

Permalink
reorganise templates and pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian leggett committed Jun 20, 2024
1 parent 6967f1a commit 642831e
Show file tree
Hide file tree
Showing 14 changed files with 835 additions and 814 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ def docs():
),
'security_email': os.environ.get('DOCS_SECURITY_EMAIL'),
}
return render_template('docs.html', **context)
return render_template('index.html', **context)

@track_analytics
def accessibility_statement():
Expand All @@ -966,7 +966,7 @@ def accessibility_statement():
'service_name': os.environ.get('DOCS_SERVICE_NAME'),
'base_url': request.base_url.rstrip('/'),
}
return render_template('accessibility_statement.html', **context)
return render_template('pages/accessibility_statement.html', **context)

app = Flask('app')

Expand Down
109 changes: 0 additions & 109 deletions templates/accessibility_statement.html

This file was deleted.

Loading

0 comments on commit 642831e

Please sign in to comment.