Skip to content

Commit d09b404

Browse files
authored
Add template file for local plan guidance (#337)
1 parent e3656bd commit d09b404

File tree

2 files changed

+46
-25
lines changed

2 files changed

+46
-25
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{%- do pageData.update({
2+
'pageTitle': ((pageData.name | replace('-',' ')) + ' data') | capitalize
3+
}) %}
4+
{% set templateName = 'dl-info/guidance/specification/local-plan.html' %}
5+
{% extends "layouts/layout--guidance.html" %}
6+
7+
{%- from "components/back-button/macro.jinja" import dlBackButton %}
8+
{% block breadcrumbs%}
9+
{{ dlBackButton({
10+
"parentHref": '/guidance/specifications/'
11+
})}}
12+
{% endblock %}
13+
14+
{% block content_primary %}
15+
16+
{% set markdown_content %}
17+
{%- include pageData.root_url + "specifications/" + pageData.name + ".md" with context -%}
18+
{% endset %}
19+
20+
{{ markdown_content | render_markdown(govAttributes=True) }}
21+
22+
{% endblock %}

application/templates/pages/guidance/specifications/local-plans.md application/templates/pages/guidance/specifications/local-plan.md

+24-25
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ There are 4 datasets you must provide for local plan data:
99
* Local plan boundary dataset
1010
* Local plan document dataset
1111
* Local plan timetable dataset
12-
12+
1313
### Format
1414

1515
You can provide data in one of these formats:
@@ -37,7 +37,7 @@ A complete record should contain the following fields (columns):
3737
A reference or ID for the local plan that is:
3838
* unique within your dataset
3939
* permanent - it doesn't change when the dataset is updated
40-
40+
4141
If you don't use a reference already, you will need to create one. This can be a short set of letters or numbers.
4242

4343
Example: `Leeds-LP01`
@@ -52,7 +52,7 @@ A brief description of the plan.
5252

5353
Example: `The new local plan will set out how Bristol will develop up to 2040`
5454

55-
### period-start-date
55+
### period-start-date
5656
The start date of the period the plan covers.
5757

5858
Example:
@@ -64,7 +64,7 @@ With dates, some data is better than no data, so:
6464
* `2024-03` is better
6565
* `2024-04-28` is brilliant
6666

67-
### period-end-date
67+
### period-end-date
6868
The end date of the period the plan covers.
6969

7070
Example: `2030-03-28`
@@ -74,7 +74,7 @@ With dates, some data is better than no data, so:
7474
* `2030-03` is better
7575
* `2030-04-28` is brilliant
7676

77-
### local-plan-boundary
77+
### local-plan-boundary
7878
The reference code for the boundary the plan covers - use the same one you are using for the reference field in your local-plan-boundary dataset.
7979

8080
Example: `YORK-LPB-01`
@@ -86,7 +86,7 @@ Example
8686
`http://www.LPAwebsite.org.uk/local-plan`
8787

8888
### organisations
89-
The code for the organisation or organisations responsible for the local plan. If it’s more than one organisation, separate them with a comma.
89+
The code for the organisation or organisations responsible for the local plan. If it’s more than one organisation, separate them with a comma.
9090
Create this code by using the relevant prefix, a colon (:), and the reference for your organisation from this [list of organisations](https://www.planning.data.gov.uk/organisation/).
9191

9292
Example: `local-authority:BUC`
@@ -103,9 +103,9 @@ With dates, some data is better than no data, so:
103103
* `2022` is fine
104104
* `2022-12` is better
105105
* `2022-12-20` is brilliant
106-
106+
107107
### start-date
108-
The date the validity of the record starts, written in YYYY-MM-DD format.
108+
The date the validity of the record starts, written in YYYY-MM-DD format.
109109

110110
Example: `2024-04-25`
111111

@@ -116,7 +116,7 @@ With dates, some data is better than no data, so:
116116
* `2024-04-25` is brilliant
117117

118118
### end-date
119-
The date the validity of the record ends, written in YYYY-MM-DD format.
119+
The date the validity of the record ends, written in YYYY-MM-DD format.
120120

121121
Example: `2030-01-20`
122122

@@ -131,7 +131,7 @@ This dataset is about local plan boundaries. Don’t worry if you don’t have a
131131
A complete record should contain the following fields (columns):
132132

133133
### reference
134-
A reference or ID for the boundary the plan covers. If it covers the exact planning authority boundary then use the planning authority boundary reference.
134+
A reference or ID for the boundary the plan covers. If it covers the exact planning authority boundary then use the planning authority boundary reference.
135135

136136
It must be:
137137
* unique within your dataset
@@ -142,7 +142,7 @@ If you don't use a reference already, you will need to create one. This can be a
142142
Example: `YORK-LPB-01`
143143

144144
### name
145-
A name for the boundary.
145+
A name for the boundary.
146146

147147
Example: `City of York boundary`
148148

@@ -179,7 +179,7 @@ With dates, some data is better than no data, so:
179179
* `2022-12-20` is brilliant
180180

181181
### start-date
182-
The date the validity of the record starts, written in YYYY-MM-DD format.
182+
The date the validity of the record starts, written in YYYY-MM-DD format.
183183

184184
Example: `2024-04-25`
185185

@@ -190,7 +190,7 @@ With dates, some data is better than no data, so:
190190
* `2024-04-25` is brilliant
191191

192192
### end-date
193-
The date the validity of the record ends, written in YYYY-MM-DD format.
193+
The date the validity of the record ends, written in YYYY-MM-DD format.
194194

195195
Example: `2030-01-20`
196196

@@ -210,19 +210,19 @@ A reference or ID for the document that is:
210210

211211
* unique within your dataset
212212
* permanent - it doesn't change when the dataset is updated
213-
213+
214214
If you don't use a reference already, you will need to create one. This can be a short set of letters or numbers.
215215

216216
Example: `CORESTRAT-2017-08`
217217

218218
### name
219-
The name of the document.
219+
The name of the document.
220220

221221
Example: `Borchester Core Strategy August 2017`
222222

223223
### description
224224

225-
A description of the document.
225+
A description of the document.
226226

227227
Example: `The core strategy is the main planning document which guides development choices and decisions in Borchester. The strategy was adopted on 10 August 2017`
228228

@@ -266,19 +266,19 @@ With dates, some data is better than no data, so:
266266
* `2022` is fine
267267
* `2022-12` is better
268268
* `2022-12-20` is brilliant
269-
269+
270270
### start-date
271-
The date the validity of the record starts, written in YYYY-MM-DD format.
271+
The date the validity of the record starts, written in YYYY-MM-DD format.
272272

273273
Example: `2024-04-25`
274274

275275
With dates, some data is better than no data, so:
276276
* `2024` is fine
277277
* `2024-04` is better
278278
* `2024-04-25` is brilliant
279-
279+
280280
### end-date
281-
The date the validity of the record ends, written in YYYY-MM-DD format.
281+
The date the validity of the record ends, written in YYYY-MM-DD format.
282282

283283
Example: `2030-01-20`
284284

@@ -288,7 +288,7 @@ With dates, some data is better than no data, so:
288288
* `2030-01-20` is brilliant
289289

290290
## Local plan timetable dataset
291-
This dataset is about local plan timetables. Don’t worry if you don’t have all the data we’ve asked for available right now. If you give us what you’ve got, we can help you fill in the gaps later.
291+
This dataset is about local plan timetables. Don’t worry if you don’t have all the data we’ve asked for available right now. If you give us what you’ve got, we can help you fill in the gaps later.
292292

293293
If you’re in the early stages of making your local plan, we expect the dates you give us to be estimated to at least the nearest month in which you think the event will happen. When they actually happen we’d expect you to update the dataset with the actual date (YYYY-MM-DD).
294294

@@ -328,7 +328,7 @@ With dates, some data is better than no data, so:
328328
* `2022` is fine
329329
* `2022-12` is better
330330
* `2022-12-20` is brilliant
331-
331+
332332
### notes
333333
Optional text on how this data was made or produced, or how it can be interpreted.
334334

@@ -352,7 +352,7 @@ With dates, some data is better than no data, so:
352352
* `2022-12-20` is brilliant
353353

354354
### start-date
355-
The date the validity of the record starts, written in YYYY-MM-DD format.
355+
The date the validity of the record starts, written in YYYY-MM-DD format.
356356

357357
Example: `2024-04-25`
358358

@@ -362,12 +362,11 @@ With dates, some data is better than no data, so:
362362
* `2024-04-25` is brilliant
363363

364364
### end-date
365-
The date the validity of the record ends, written in YYYY-MM-DD format.
365+
The date the validity of the record ends, written in YYYY-MM-DD format.
366366

367367
Example: `2030-01-20`
368368

369369
With dates, some data is better than no data, so:
370370
* `2030` is fine
371371
* `2030-01` is better
372372
* `2030-01-20` is brilliant
373-

0 commit comments

Comments
 (0)