Skip to content

Commit

Permalink
Adding summary microformat
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Boothe <[email protected]>
  • Loading branch information
rootwork committed Sep 30, 2022
1 parent 14b7bd5 commit 53d26c6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hugo/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ <h2>{{ T "overview" }}</h2>
{{ .TableOfContents }}
</div>
{{ end }}

{{/* Summary for indieweb microformat */}}
{{- with partial "function/vars/getSummary" . -}}
<h3 class="hidden-all">Summary</h3>
<p class="hidden-all p-summary">{{ . }}</p>
<hr class="hidden-all" />
{{- end -}}


<div class="post_body e-content" itemprop="articleBody">
{{- .Content }}

Expand Down

0 comments on commit 53d26c6

Please sign in to comment.