2023-07-13 19:20:00 +00:00
|
|
|
{{define "title"}}{{.Entry.Title}}{{end}}
|
2023-07-08 12:51:56 +00:00
|
|
|
|
|
|
|
{{define "main"}}
|
|
|
|
|
2023-07-13 19:20:00 +00:00
|
|
|
<div class="h-entry">
|
|
|
|
<hgroup>
|
|
|
|
{{if .Entry.Title}}
|
|
|
|
<h1 class="p-name">{{.Entry.Title}}</h1>
|
|
|
|
{{end}}
|
|
|
|
<small>
|
|
|
|
<a class="u-url" href="">#</a>
|
|
|
|
Published:
|
|
|
|
<time class="dt-published" datetime="{{.Entry.PublishedAt}}">
|
|
|
|
{{.Entry.PublishedAt}}
|
|
|
|
</time>
|
|
|
|
{{ if .Author.Name }}
|
|
|
|
by
|
|
|
|
<a class="p-author h-card" href="{{.Author.FullUrl}}">
|
|
|
|
{{ if .Author.AvatarUrl }}
|
|
|
|
<img class="u-photo u-logo" style="height: 1em;" src="{{ .Author.AvatarUrl }}" alt="{{ .Author.Config.Title }}" />
|
|
|
|
{{ end }}
|
|
|
|
{{.Author.Name}}
|
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
</small>
|
|
|
|
</hgroup>
|
2023-07-09 17:51:49 +00:00
|
|
|
|
2023-07-25 19:37:26 +00:00
|
|
|
<div class="e-content">
|
|
|
|
{{.Entry.Content}}
|
|
|
|
</div>
|
2023-07-09 17:51:49 +00:00
|
|
|
|
2023-07-13 19:20:00 +00:00
|
|
|
</div>
|
2023-07-09 17:51:49 +00:00
|
|
|
|
2023-07-25 19:31:03 +00:00
|
|
|
{{ if .LoggedIn }}
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<a href="/editor/edit/{{.Entry.ID}}/" role="button" class="secondary outline">Edit</a>
|
|
|
|
{{ end }}
|
|
|
|
|
2023-07-08 12:51:56 +00:00
|
|
|
|
|
|
|
{{end}}
|
|
|
|
|