diff options
author | Paul Duncan <pabs@pablotron.org> | 2021-10-15 00:36:50 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2021-10-15 00:36:50 -0400 |
commit | 7209f91deba066899e5880d058e81ffb104d48bb (patch) | |
tree | 950d2a1eb5703acea05ca96179c5367956633d53 /themes/hugo-pt2021/layouts/projects/single.html | |
parent | 28f745c85e7cbaf2ddd7958433464b76fc4c6b2b (diff) | |
download | pablotron.org-7209f91deba066899e5880d058e81ffb104d48bb.tar.bz2 pablotron.org-7209f91deba066899e5880d058e81ffb104d48bb.zip |
themes/hugo-pt2021: add projects single, list, and partial
Diffstat (limited to 'themes/hugo-pt2021/layouts/projects/single.html')
-rw-r--r-- | themes/hugo-pt2021/layouts/projects/single.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/themes/hugo-pt2021/layouts/projects/single.html b/themes/hugo-pt2021/layouts/projects/single.html new file mode 100644 index 0000000..769fc33 --- /dev/null +++ b/themes/hugo-pt2021/layouts/projects/single.html @@ -0,0 +1,17 @@ +{{- define "title" -}} + {{.Title}} +{{- end -}} + +{{- define "main" -}} + <div class='container'> + <div class='section is-small'> + <h1 class='title' title='{{.Title}}' aria-label='{{.Title}}'> + {{- .Title -}} + </h1> + + <div class='content'> + {{- .Content -}} + </div><!-- content --> + </div><!-- section --> + </div><!-- container --> +{{- end -}} |