devel_custom_hugo_theme to master #4

Manually merged
stefan merged 44 commits from devel_custom_hugo_theme into master 2020-03-16 18:22:11 +00:00
5 changed files with 12 additions and 4 deletions
Showing only changes of commit 711f7d97ef - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
site/static/link.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1021 B

BIN
site/static/mail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -8,25 +8,33 @@
{{ if .Get "link" }} {{ if .Get "link" }}
<div class="col p-0"> <div class="col p-0">
<a class="btn btn-on-com-card w-100" href="{{ .Get "link" }}" target="_blank">Link</a> <a class="btn btn-on-com-card w-100" href="{{ .Get "link" }}" target="_blank">
<img src="/link.png" class="m-2" min-width="32px" width="32px">
</a>
</div> </div>
{{ end }} {{ end }}
{{ if .Get "facebook" }} {{ if .Get "facebook" }}
<div class="col p-0"> <div class="col p-0">
<a class="btn btn-on-com-card w-100" href="{{ .Get "facebook" }}" target="_blank">Facebook</a> <a class="btn btn-on-com-card w-100" href="{{ .Get "facebook" }}" target="_blank">
<img src="/f_logo_RGB-Black_58.png" class="m-2" min-width="32px" width="32px">
</a>
</div> </div>
{{ end }} {{ end }}
{{ if .Get "twitter" }} {{ if .Get "twitter" }}
<div class="col p-0"> <div class="col p-0">
<a class="btn btn-on-com-card w-100" href="{{ .Get "twitter" }}" target="_blank">Twitter</a> <a class="btn btn-on-com-card w-100" href="{{ .Get "twitter" }}" target="_blank">
<img src="/Twitter_Social_Icon_Circle_Color.png" class="m-2" min-width="32px" width="32px">
</a>
</div> </div>
{{ end }} {{ end }}
{{ if .Get "email" }} {{ if .Get "email" }}
<div class="col p-0"> <div class="col p-0">
<a class="btn btn-on-com-card w-100" href="{{ .Get "email" }}" target="_blank">Email</a> <a class="btn btn-on-com-card w-100" href="{{ .Get "email" }}" target="_blank">
<img src="/mail.png" class="m-2" min-width="32px" width="32px">
</a>
</div> </div>
{{ end }} {{ end }}