- Created `micro.html` for handling reply, repost, like, bookmark, and RSVP links. - Added `postCard.html` for rendering individual post items with icons based on post type. - Introduced `search-form.html` for search input and `search-index.html` for displaying search results. - Implemented `series.html` to show related posts in a series format. - Added `socialIcons.html` for rendering social media links. - Created `syndication.html` to display syndication links for posts. - Introduced `tags.html` for displaying tags and categories associated with posts. - Added `webmention.html` for integrating webmention functionality. - Updated SASS files for styling adjustments.
27 lines
1.4 KiB
HTML
27 lines
1.4 KiB
HTML
<!-- Default h-card -->
|
|
<div class="h-card author">
|
|
<p>
|
|
<a class="u-url u-uid" href="{{ .Site.BaseURL }}"></a>
|
|
Created by {{ with .Site.Params.Hcard.Avatar }}<img class="u-photo author-avatar" style="display: none;" alt="" src="{{ . | absURL }}"> {{ end }}<span class="p-name" rel="me">{{ .Site.Params.Hcard.FullName }}</span>
|
|
{{- with .Site.Params.Hcard.Pronouns -}}
|
|
{{- $len_pronouns := (len .) }}
|
|
(
|
|
|
|
<span class="p-pronoun-nominative">{{.nominative}}</span>/<span class="p-pronoun-oblique">{{.oblique}}</span>/<span class="p-pronoun-possessive">{{.possessive}}</span></a> pronouns
|
|
{{- end -}}
|
|
{{- if isset .Site.Params.Hcard "nickname" -}}
|
|
{{- with .Site.Params.Hcard.Pronouns }}, {{ else }}({{ end -}}
|
|
also known as <span class="p-nickname">{{ .Site.Params.Hcard.Nickname }}</span>)
|
|
{{- end -}}
|
|
{{- if not .Site.Params.Hcard.ShowLocation }}.{{ end -}}
|
|
{{- if .Site.Params.Hcard.ShowLocation }} in
|
|
{{ with .Site.Params.Hcard.City }} <span class="p-locality">{{ . }}</span>,{{ end }}
|
|
{{ with .Site.Params.Hcard.Region }} <span class="p-region">{{ . }}</span>,{{ end }}
|
|
{{ with .Site.Params.Hcard.Country }} <span class="p-country-name">{{ . }}</span>{{ end }}.
|
|
{{ end }}
|
|
</p>
|
|
{{ with .Site.Params.Hcard.Biography }}<p>
|
|
<span class="p-note">{{ . | markdownify }}</span>
|
|
</p>{{ end }}
|
|
</div>
|