commit 2bd2cfab2952d87f1a44863b7b2a3adae0c29850 parent 9af3d0b3aedc0dca74c99d753703b398d5617dec Author: Yohanes Bandung <bandungpenting@gmail.com> Date: Wed, 29 Apr 2020 06:02:36 +0700 feature: add micro.blog and indieauth Diffstat:
| M | config.dev.toml | | | 1 | + |
| M | config.toml | | | 3 | ++- |
| M | layouts/partials/footer/footer.html | | | 8 | ++++---- |
| M | layouts/partials/head/head.html | | | 4 | ++++ |
4 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/config.dev.toml b/config.dev.toml @@ -12,6 +12,7 @@ title = "YBBond" email = "bandungpenting@gmail.com" twitter = "bandungpenting" github = "ybbond" + microblog = "ybbond" [markup.goldmark.renderer] hardWraps = true diff --git a/config.toml b/config.toml @@ -12,7 +12,8 @@ title = "YBBond" email = "bandungpenting@gmail.com" twitter = "bandungpenting" github = "ybbond" - + microblog = "ybbond" + [markup.goldmark.renderer] hardWraps = true unsafe = true diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html @@ -8,8 +8,9 @@ {{ end }} </p> <p class="footer__nav__right"> - <a class="button" href="https://github.com/{{ .Site.Params.Github }}">GitHub</a> - <a class="button" href="https://twitter.com/{{ .Site.Params.Twitter }}">Twitter</a> + <a class="button" href="https://github.com/{{ .Site.Params.Github }}" rel="me">GitHub</a> + <a class="button" href="https://twitter.com/{{ .Site.Params.Twitter }}" rel="me">Twitter</a> + <a class="button" href="https://micro.blog/{{ .Site.Params.Microblog }}" rel="me">Micro.blog</a> <a class="button" href={{ "index.xml" | absURL }}>RSS</a> </p> </div> @@ -23,4 +24,4 @@ </a> </span> {{ end }} -</p>- \ No newline at end of file +</p> diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html @@ -6,8 +6,12 @@ <link data-hint="Twitter" title="Twitter" href="https://twitter.com/{{ .Site.Params.Twitter }}" rel="me"> <link data-hint="GitHub" title="GitHub" href="https://github.com/{{ .Site.Params.Github }}" rel="me"> +<link data-hint="Micro.Blog" title="Micro.Blog" href="https://micro.blog/ybbond" rel="me" /> <link data-hint="Email" title="Email" href="mailto:{{ .Site.Params.Email }}" rel="me"> +<link href="https://micro.blog/indieauth/auth" rel="authorization_endpoint" /> +<link href="https://micro.blog/indieauth/token" rel="token_endpoint" /> + <title>{{ with .Page.Title }}{{ . }} ::{{ end }} {{ .Site.Params.Author }}</title> <meta