ybbond

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

commit 9f0f581d9e7d0674c1409d3a131d1cbca8f952bf
parent d096b3f8e1e143f3b7a6a506bf1adb36e77e7f55
Author: Yohanes Bandung <hi@ybbond.dev>
Date:   Sat, 23 May 2020 01:54:43 +0700

hotfix: feedback text on cv and about

Diffstat:
Mlayouts/_default/single.html | 11+++++++++--

1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/layouts/_default/single.html b/layouts/_default/single.html
@@ -21,7 +21,12 @@
       <div class="e-content">
         {{ partial "components/content.html" .Content }}
       </div>
-      <hr class="content__hr">
+      {{- if ne .Type "page" }}
+        <hr class="content__hr">
+      {{- else }}
+        <br>
+        <br>
+      {{- end }}
       <p {{ if eq .Type "page" }}class="hcard" hidden=""{{ end }}>
         <a class="u-url link-white" href={{ .Permalink }}>Published</a> on
         <time title="{{ .Date.Format "Monday, 02 January 2006 on 15:04:05" }} GMT+7" class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05" }}+07:00">
@@ -34,7 +39,9 @@
           {{ end }}
         </p>
       {{ end }}
-      <p>If you have any feedback, please contact me at <a href="mailto:hi@ybbond.dev">hi@ybbond.dev</a></p>
+      {{ if ne .Type "page" -}}
+        <p>If you have any feedback, please contact me at <a href="mailto:hi@ybbond.dev">hi@ybbond.dev</a></p>
+      {{ end -}}
     </article>
   {{ end }}
 {{ end }} 
\ No newline at end of file