Compare commits
No commits in common. "09353cd937d609e4f3964ba5de31ef9236bd2004" and "1d6a5bb0c9df7611935aaa38a6c2606de2654467" have entirely different histories.
09353cd937
...
1d6a5bb0c9
|
@ -207,7 +207,3 @@ partial.
|
|||
- [A Look Into Proper HTML5 Semantics](https://www.hongkiat.com/blog/html-5-semantics/amp/)
|
||||
- [HTML5 Semantic Tags: What Are They & How To Use Them! - SEMrush](https://www.semrush.com/blog/semantic-html5-guide/)
|
||||
|
||||
## Acknowledgements
|
||||
|
||||
- [Indigo Theme](https://github.com/AngeloStavrow/indigo)
|
||||
- Inspiration for implementation of IndieWeb Identity hooks
|
|
@ -2,7 +2,7 @@ baseURL = "http://example.org/"
|
|||
languageCode = "en-us"
|
||||
title = "Basic Hugo Theme"
|
||||
copyright = "Copyright © 2019, Copyright Owner Name | Built with [Hugo](https://gohugo.io/)"
|
||||
theme = "semantic-indieweb"
|
||||
theme = "basic-theme"
|
||||
paginate = 5
|
||||
|
||||
[permalinks]
|
||||
|
@ -11,34 +11,3 @@ paginate = 5
|
|||
[params]
|
||||
subtitle = "A theme with no CSS and only basic layouts"
|
||||
mainSections = [ "posts" ]
|
||||
|
||||
# Configuration Parameters for IndieWeb Identity
|
||||
[[params.Identity]]
|
||||
type = "Email"
|
||||
value = "email.address@example.com"
|
||||
authn = false
|
||||
|
||||
[[params.Identity]]
|
||||
type = "GitHub"
|
||||
value = "GitHubUserName"
|
||||
authn = false
|
||||
|
||||
[[params.Identity]]
|
||||
type = "GitLab"
|
||||
value = "GitLabUserName"
|
||||
authn = false
|
||||
|
||||
[[params.Identity]]
|
||||
type = "Twitter"
|
||||
value = "TwitterUserName"
|
||||
authn = false
|
||||
|
||||
[[params.Identity]]
|
||||
type = "MicroBlog"
|
||||
value = "MicroBlogUserName"
|
||||
authn = false
|
||||
|
||||
[[params.Identity]]
|
||||
type = "PGP"
|
||||
value = "pgp_key_file.txt"
|
||||
authn = false
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{{- partial "identity.html" . }}
|
||||
<title>{{- block "title" . -}}
|
||||
{{ .Site.Title }}
|
||||
{{- end -}}</title>
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
{{- range .Site.Params.Identity -}}
|
||||
{{- $relMe := cond .authn "me authn" "me" -}}
|
||||
{{- if (eq .type "Email") }}
|
||||
<link rel="{{ $relMe }}" href="mailto:{{ .value }}">
|
||||
{{- else if (eq .type "GitHub") }}
|
||||
<link rel="{{ $relMe }}" href="https://github.com/{{ .value }}">
|
||||
{{- else if (eq .type "GitLab") }}
|
||||
<link rel="{{ $relMe }}" href="https://gitlab.com/{{ .value }}">
|
||||
{{- else if (eq .type "Twitter") }}
|
||||
<link rel="{{ $relMe }}" href="https://twitter.com/{{ .value }}">
|
||||
{{- else if (eq .type "MicroBlog") }}
|
||||
<link rel="{{ $relMe }}" href="https://micro.blog/{{ .value }}">
|
||||
{{- else if (eq .type "PGP") }}
|
||||
{{- $relPgp := cond .authn "pgpkey authn" "pgpkey" }}
|
||||
<link rel="{{ $relPgp }}" href="{{ .value }}">
|
||||
{{- end -}}
|
||||
{{- end -}}
|
Loading…
Reference in New Issue