Skip to content

Commit f07e1e7

Browse files
authored
Merge pull request #61 from django/timeline-instructions-link
Add anchor link to timeline instructions, render subtitle and subsubtitle strings as Markdown
2 parents 7c87a17 + 7820945 commit f07e1e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/timeline/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ draft: false
55

66
params:
77
subtitle: "20 years of Django in a collaborative timeline."
8-
subsubtitle: "WIP: This timeline is pieced together by everyone’s memory and experiences. Is something significant missing? Or do you wanna add your very own milestone? You can do that!"
8+
subsubtitle: "WIP: This timeline is pieced together by everyone’s memory and experiences. Is something significant missing? Or do you wanna add your very own milestone? See [instructions](#adding-milestones) for adding or editing entries."
99

1010
---
1111

themes/django20/layouts/partials/hero.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ <h1>
66
</h1>
77
{{ if .Params.subtitle }}
88
<p class="subtitle">
9-
{{ .Params.subtitle }}
9+
{{ .Params.subtitle | .RenderString }}
1010
</p>
1111
{{ end }}
1212
{{ if .Params.subsubtitle }}
1313
<p class="subsubtitle">
14-
{{ .Params.subsubtitle }}
14+
{{ .Params.subsubtitle | .RenderString }}
1515
</p>
1616
{{ end }}
1717
</div>

0 commit comments

Comments
 (0)