Skip to content

Commit

Permalink
Add byline in blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
agaetep committed Aug 28, 2024
1 parent afae172 commit 1334f85
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions themes/osuosl/layouts/blog/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{ define "main" }}
<main class="main_content">
{{- partial "menu.html" . -}}
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
<p>by {{ delimit .Params.authors ", " " and " }} on {{ .Date | dateFormat "Mon, Jan 02 2006" }}</p>
<div>
{{ .Content }}
</div>
</main>
{{ end }}

0 comments on commit 1334f85

Please sign in to comment.