mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 15:56:29 -05:00
More JSON+LD metadata
This commit is contained in:
parent
e699ce661e
commit
c91c4103db
3 changed files with 15 additions and 2 deletions
|
@ -36,7 +36,9 @@
|
|||
"author": [{
|
||||
"@type": "Person",
|
||||
"name": "{{ .Site.Params.Author }}",
|
||||
"url": "{{ .Site.BaseURL }}"
|
||||
"url": "{{ .Site.BaseURL }}",
|
||||
"email": "mailto://{{ .Site.Params.email }}",
|
||||
"image": "{{ .Site.BaseURL }}/img/{{ .Site.Params.avatar }}"
|
||||
}]
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -5,6 +5,16 @@
|
|||
using a modified version of the <a href="https://github.com/koirand/pulp/">pulp</a> theme.
|
||||
</p>
|
||||
</footer>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Person",
|
||||
"email": "mailto://{{ .Site.Params.email }}",
|
||||
"image": "{{ .Site.BaseURL }}/img/{{ .Site.Params.avatar }}",
|
||||
"name": "{{ .Site.Params.Author }}",
|
||||
"url": "{{ .Site.BaseURL }}"
|
||||
}
|
||||
</script>
|
||||
<script async src="https://dash.brandonrozek.com/tracker.js" data-ackee-server="https://dash.brandonrozek.com" data-ackee-domain-id="41f92524-47ad-497b-b342-a8c296e4b11b"></script>
|
||||
{{- range .Site.Params.custom_js -}}
|
||||
<script src="{{ . }}"></script>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
</div>
|
||||
<!-- author -->
|
||||
<h2 class="p-name"><a class="author u-url" rel="me" href="{{ .Site.BaseURL }}">{{ .Site.Params.Author }}</a></h2>
|
||||
<!-- description (for h-card) -->
|
||||
<!-- email / description (for h-card) -->
|
||||
<a style="display: none" class="u-email" href="mailto://{{ .Site.Params.email }}"></a>
|
||||
<p style="display: none" class="p-note">
|
||||
{{ .Site.Params.description | safeHTML }}
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue