Skip to content

Commit 93f3fbc

Browse files
committed
Use nhs-frontend-jinja to define html layouts
1 parent a78053f commit 93f3fbc

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
<h1>hello world</h1>
1+
{% extends 'layout.jinja' %}
2+
3+
{% block content %}
4+
<h1>hello world</h1>
5+
{% endblock %}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{% extends 'template.jinja' %}
2+
3+
{% block pageTitle %}Lung Cancer Screening - NHS{% endblock %}
4+
5+
{% block content %}
6+
{% block page_content %}
7+
{% endblock page_content %}
8+
{% endblock content %}

0 commit comments

Comments
 (0)