diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-15 15:27:53 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-15 15:27:53 +0200 |
| commit | d519fa3153c53197b833f22cb3f1e64d3b96afea (patch) | |
| tree | beb3916ad0d187ab0698471aa233dac6a930f680 /layouts/page/single.html | |
| parent | 10ae24b9f7cafb33ca1efb00081fca8d7f58cbc7 (diff) | |
| download | gohugo-theme-ed-d519fa3153c53197b833f22cb3f1e64d3b96afea.tar.gz | |
Provide ability to create cutom page title
Diffstat (limited to 'layouts/page/single.html')
| -rw-r--r-- | layouts/page/single.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/page/single.html b/layouts/page/single.html new file mode 100644 index 0000000..03c488a --- /dev/null +++ b/layouts/page/single.html @@ -0,0 +1,7 @@ +{{ define "main" }} +<article class="page"> + <h1 class="page-title">{{ .Params.caption | default .Title }}</h1> + {{ .Content }} +</article> +{{ end }} + |
