diff options
author | EDWARD WEBB <EDWARD.WEBB@LibertyMutual.com> | 2018-02-21 23:05:16 +0300 |
---|---|---|
committer | EDWARD WEBB <EDWARD.WEBB@LibertyMutual.com> | 2018-02-21 23:05:16 +0300 |
commit | e88b42ff4f88b01a83279c5c28fd5ec918346492 (patch) | |
tree | bfda7c7e086dbe925e309f358a659c344a828598 | |
parent | 70c557f66f4a6cd313857dc87a9cab3aef7d977c (diff) |
Add section IDs to project sections
-rw-r--r-- | layouts/projects/section.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/projects/section.html b/layouts/projects/section.html index 6277b51..3686f1c 100644 --- a/layouts/projects/section.html +++ b/layouts/projects/section.html @@ -2,13 +2,13 @@ {{ partial "breadcrumbs" . }} <section class="resume-section p-3 p-lg-5 d-flex flex-column"> <div class="my-auto" id="projects-content"> - <h2>{{ .Title }}</h2> + <h1 id="{{ urlize .Title }}">{{ .Title }}</h1> <p>{{ .Content }}</p> {{ range .Data.Pages }} {{ partial "portfolio/projectSummary" . }} {{ end }} {{ range .Sections }} - <h3>{{ .Title }}</h3> + <h2 id="{{ urlize .Title }}"><a href="{{ .Permalink }}">{{ .Title }}</a></h2> <p>{{ .Content }}</p> {{ range .Pages }} {{ partial "portfolio/projectSummary" . }} |