mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-24 17:16:31 -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": [{
|
"author": [{
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "{{ .Site.Params.Author }}",
|
"name": "{{ .Site.Params.Author }}",
|
||||||
"url": "{{ .Site.BaseURL }}"
|
"url": "{{ .Site.BaseURL }}",
|
||||||
|
"email": "mailto://{{ .Site.Params.email }}",
|
||||||
|
"image": "{{ .Site.BaseURL }}/img/{{ .Site.Params.avatar }}"
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -5,6 +5,16 @@
|
||||||
using a modified version of the <a href="https://github.com/koirand/pulp/">pulp</a> theme.
|
using a modified version of the <a href="https://github.com/koirand/pulp/">pulp</a> theme.
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</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>
|
<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 -}}
|
{{- range .Site.Params.custom_js -}}
|
||||||
<script src="{{ . }}"></script>
|
<script src="{{ . }}"></script>
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- author -->
|
<!-- author -->
|
||||||
<h2 class="p-name"><a class="author u-url" rel="me" href="{{ .Site.BaseURL }}">{{ .Site.Params.Author }}</a></h2>
|
<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">
|
<p style="display: none" class="p-note">
|
||||||
{{ .Site.Params.description | safeHTML }}
|
{{ .Site.Params.description | safeHTML }}
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue