ybbond

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

commit b100b32b6fc67cd685d8a4bbe98650da2a9c14fc
parent 3ac97340033528e8101763bec95a4d1f1bc74988
Author: Yohanes Bandung <bandungpenting@gmail.com>
Date:   Thu,  7 May 2020 15:44:14 +0700

refactor: change email

Diffstat:
Mconfig.dev.toml | 2+-
Mconfig.toml | 2+-
Mcontent/cv.md | 2+-
Alayouts/partials/components/h-card.html | 11+++++++++++
Mlayouts/partials/footer/footer.html | 12+-----------

5 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/config.dev.toml b/config.dev.toml
@@ -9,7 +9,7 @@ title = "YBBond"
   author = "Yohanes Bandung Bondowoso"
   description = "Thoughts, Ideas and Writings."
   mainSiteURL = "https://ybbond.dev"
-  email = "bandungpenting@gmail.com"
+  email = "hi@ybbond.dev"
   twitter = "bandungpenting"
   github = "ybbond"
   microblog = "ybbond"
diff --git a/config.toml b/config.toml
@@ -9,7 +9,7 @@ title = "YBBond"
   author = "Yohanes Bandung Bondowoso"
   description = "Thoughts, Ideas and Writings."
   mainSiteURL = "https://ybbond.dev"
-  email = "bandungpenting@gmail.com"
+  email = "hi@ybbond.dev"
   twitter = "bandungpenting"
   github = "ybbond"
   microblog = "ybbond"
diff --git a/content/cv.md b/content/cv.md
@@ -21,7 +21,7 @@ description: CV
 ## Find Me
 
 - everywhere: ybbond or bandungpenting
-- bandungpenting@gmail.com
+- hi@ybbond.dev
 - Github, Instagram, Twitter
 
 <br>
diff --git a/layouts/partials/components/h-card.html b/layouts/partials/components/h-card.html
@@ -0,0 +1,11 @@
+<div class="hcard">
+  <div class="hcard__description"><p>My <a href="http://microformats.org/wiki/representative-h-card-authoring">h-card</a></p></div>
+<div id="h-card" class="h-card">
+  <img class="u-photo" src={{ "logo.png" | absURL }} alt="Photo of {{ .Site.Params.Author }}" />
+  <a class="p-name u-url u-uid" href={{ .Site.Params.MainSiteURL }} rel="me">{{ substr .Site.Params.Author 0 20 }}.</a>
+  <br>
+  <a class="u-email" href="mailto:{{ .Site.Params.Email }}">{{ .Site.Params.Email }}</a>
+  <br>
+  <span class="p-locality">Jakarta</span>, <span class="p-country-name">Indonesia</span>
+</div>
+</div>
diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html
@@ -22,17 +22,7 @@
   <a href="https://xn--sr8hvo.ws/%F0%9F%8E%B8%F0%9F%8D%8D%F0%9F%95%97/next">→</a>
 </center>
 
-<div class="hcard">
-  <div class="hcard__description"><p>My <a href="http://microformats.org/wiki/representative-h-card-authoring">h-card</a></p></div>
-<div id="h-card" class="h-card">
-  <img class="u-photo" src={{ "logo.png" | absURL }} alt="Weird photo of yohanes bandung" />
-  <a class="p-name u-url u-uid" href={{ .Site.Params.MainSiteURL }} rel="me">{{ substr .Site.Params.Author 0 20 }}.</a>
-  <br>
-  <a class="u-email" href="mailto:{{ .Site.Params.Email }}">{{ .Site.Params.Email }}</a>
-  <br>
-  <span class="p-locality">Jakarta</span>, <span class="p-country-name">Indonesia</span>
-</div>
-</div>
+{{ partial "components/h-card.html" . }}
 
 <p class="footer__copyright">
   <span class="footer__copyright__year">&copy;{{ now.Year }} {{ .Site.Params.Author }}</span>