ybbond

My site. The main domain
Log | Files | Refs | README | LICENSE | CC-LICENSE

commit 068afc804c8661a0a438a4dd119a85c1e5d3c7a2
parent 9b2f88e3c97dfeed637384fda543e2b192c6e4d5
Author: Yohanes Bandung <bandungpenting@gmail.com>
Date:   Tue, 28 Apr 2020 16:45:33 +0700

refactor: indieauth email and SEO title

Diffstat:
Mcontent/cv.md | 1+
Mcontent/uses.md | 1+
Mlayouts/partials/head/head.html | 7++++---

3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/content/cv.md b/content/cv.md
@@ -1,4 +1,5 @@
 ---
+title: My CV
 menu: cv
 description: CV
 ---
diff --git a/content/uses.md b/content/uses.md
@@ -1,4 +1,5 @@
 ---
+title: Hardware and Software I Use
 menu: cv
 description: CV
 ---
diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html
@@ -4,10 +4,11 @@
 
 <link rel="dns-prefetch" href="//cdn.ybbond.dev">
 
-<link data-hint="Twitter" title="Twitter" href="https://twitter.com/bandungpenting" rel="me">
-<link data-hint="GitHub" title="GitHub" href="https://github.com/ybbond" rel="me">
+<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="Email" title="Email" href="mailto:{{ .Site.Params.Email }}" rel="me">
 
-<title>Blog :: {{ .Site.Params.Author }}</title>
+<title>{{ with .Page.Title }}{{ . }} ::{{ end }} {{ .Site.Params.Author }}</title>
 
 <meta
   name="description"