Compare commits

...

2 Commits

Author SHA1 Message Date
e60c63626b Rename partial author to byline. 2025-11-16 18:30:47 -07:00
7b8342eba0 Remove the 'by' portion from shortcode. 2025-11-16 18:30:35 -07:00
3 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
<strong>{{ .Params.subtitle | markdownify }}</strong>
{{ end }}
{{ if .Params.author }}
<pre>{{ partial "author.html" . }}</pre>
<pre>{{ partial "byline.html" . }}</pre>
{{ end }}
{{ if .Params.Cover }}

View File

@@ -10,6 +10,6 @@
}}{{ end
}}{{ $author := .Scratch.Get "author"
}}{{ if $author
}}{{ print "by " $author
}}{{ print $author
}}{{ end
}}