Support photos in notes, fix bad microformat in post preview
This commit is contained in:
parent
aad43efe3e
commit
f0a666e8c4
|
@ -1,8 +1,5 @@
|
|||
<div>
|
||||
<p>{{ .Content }}</p>
|
||||
<p><a href="{{ .Permalink }}">{{ .PublishDate }}
|
||||
{{- if ne .PublishDate .Lastmod }}
|
||||
; last updated {{ .Lastmod }}
|
||||
{{- end }}
|
||||
</a></p>
|
||||
{{ partial "post-start" . }}
|
||||
<section class="e-content">{{ .Content }}</section>
|
||||
{{ partial "post-end" . }}
|
||||
</div>
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
<article class="h-entry">
|
||||
<section class="h-card">
|
||||
<img class="u-photo" src="{{ $me.photo }}" height="48" width="48" alt="A close-up photo of my face." />
|
||||
<a href="{{ .Site.BaseURL }}" class="u-name u-url">
|
||||
<a href="{{ .Site.BaseURL }}" class="p-name u-url">
|
||||
{{ $me.Name }}
|
||||
</a>
|
||||
</section>
|
||||
{{- /* Continued in ./post-end.html */ -}}
|
||||
{{- /* Continued in ./post-end.html */ -}}
|
||||
|
|
Loading…
Reference in a new issue