Commit 65ebf220 authored by Eric Poirier's avatar Eric Poirier Committed by Christopher Guindon
Browse files

Add the ability to opt-in and out of title formating

parent 4c48eca7
<!--
<!--
Copyright (c) 2018 Eclipse Foundation, Inc.
This program and the accompanying materials are made available under the
......@@ -24,7 +24,7 @@
{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
{{ end }}
<li{{ if eq .p1 .p2 }} class="active" aria-current="page"{{ end }}>
<a href="{{ .p1.Permalink }}">{{ .p1.Title | safeHTML | title }}</a>
<a href="{{ .p1.Permalink }}">{{ if eq .Page.Params.format_title false }}{{ .p1.Title | safeHTML }}{{ else }}{{ .p1.Title | safeHTML | title }}{{ end }}</a>
</li>
{{ end }}
</div>
......
<!--
<!--
Copyright (c) 2019 Eclipse Foundation, Inc.
This program and the accompanying materials are made available under the
......@@ -20,5 +20,11 @@
{{ end }}
{{ if ne .Page.Params.hide_page_title true }}
<h1>{{ .Title | safeHTML | title }}</h1>
{{ end }}
\ No newline at end of file
<h1>
{{ if eq .Page.Params.format_title false }}
{{ .Title | safeHTML }}
{{ else }}
{{ .Title | safeHTML | title }}
{{ end }}
</h1>
{{ end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment