Просмотр исходного кода

Support providing custom buttons in about section (#611)

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Emruz Hossain 2 лет назад
Родитель
Сommit
ad3dee71c2
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      layouts/partials/sections/about.html

+ 5 - 0
layouts/partials/sections/about.html

@@ -45,6 +45,11 @@
         ><button class="btn btn-dark">{{ i18n "resume"}}</button></a
       >
       {{ end }}
+      {{ range .resourceLinks }}
+      <a href="{{ .url | relURL }}" title="{{ .title }}" target="#"
+        ><button class="btn btn-dark">{{ .title }}</button></a
+      >
+      {{ end }}
     </div>
     <!-- soft skills circular-progressbar -->
     <div class="col-sm-6 pt-5 pl-md-4 pl-sm-3 pt-sm-0">