diff options
author | Paul Duncan <pabs@pablotron.org> | 2021-10-16 21:56:56 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2021-10-16 21:56:56 -0400 |
commit | 43423bbd2a5a5fd6ab8556cdbd44cfea2d9b5983 (patch) | |
tree | 35231df256e82eee7411d3b5758ac4c92e2ef4c1 /themes/hugo-pt2021/layouts/projects | |
parent | 1c96e5974eecdc1c3a16497c56dff71c2cc4c35d (diff) | |
download | pablotron.org-43423bbd2a5a5fd6ab8556cdbd44cfea2d9b5983.tar.bz2 pablotron.org-43423bbd2a5a5fd6ab8556cdbd44cfea2d9b5983.zip |
themes/hugo-pt2021/layouts/projects/single.html: link to git repo
Diffstat (limited to 'themes/hugo-pt2021/layouts/projects')
-rw-r--r-- | themes/hugo-pt2021/layouts/projects/single.html | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/themes/hugo-pt2021/layouts/projects/single.html b/themes/hugo-pt2021/layouts/projects/single.html index 769fc33..5ea439a 100644 --- a/themes/hugo-pt2021/layouts/projects/single.html +++ b/themes/hugo-pt2021/layouts/projects/single.html @@ -5,9 +5,26 @@ {{- define "main" -}} <div class='container'> <div class='section is-small'> - <h1 class='title' title='{{.Title}}' aria-label='{{.Title}}'> + <h1 + class='title' + title='{{.Title}}' + aria-label='{{.Title}}' + > {{- .Title -}} - </h1> + </h1><!-- title --> + + {{- if .Params.repo -}} + <h3 class='subtitle'> + <a + href='{{- .Params.repo -}}' + title='Go to {{.Slug}} Git repository.' + aria-label='Go to {{.Slug}} Git repository' + rel='noopener' + > + Git Repository + </a> + </h3><!-- subtitle --> + {{- end -}} <div class='content'> {{- .Content -}} |