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