alex.racine/themes/portfoliGor/layouts/partials/apps.html

20 lines
1.5 KiB
HTML
Raw Permalink Normal View History

<section class="apps">
{{ if and (.Site.Params.apps.cloudTitle) (.Site.Params.apps.cloudImg) (.Site.Params.apps.cloudURL) }}
<a title="{{ .Site.Params.apps.cloudTitle }}" href="{{ .Site.Params.apps.cloudURL }}"><img src="{{ .Site.Params.apps.cloudImg }}"/></a>
{{ end }}
{{ if and (.Site.Params.apps.linksTitle) (.Site.Params.apps.linksImg) (.Site.Params.apps.linksURL) }}
<a title="{{ .Site.Params.apps.linksTitle }}" href="{{ .Site.Params.apps.linksURL }}"><img src="{{ .Site.Params.apps.linksImg }}"/></a>
{{ end }}
{{ if and (.Site.Params.apps.galleryTitle) (.Site.Params.apps.galleryImg) (.Site.Params.apps.galleryURL) }}
<a title="{{ .Site.Params.apps.galleryTitle }}" href="{{ .Site.Params.apps.galleryURL }}"><img src="{{ .Site.Params.apps.galleryImg }}"/></a>
{{ end }}
{{ if and (.Site.Params.apps.liveTitle) (.Site.Params.apps.liveImg) (.Site.Params.apps.liveURL) }}
<a title="{{ .Site.Params.apps.liveTitle }}" href="{{ .Site.Params.apps.liveURL }}"><img src="{{ .Site.Params.apps.liveImg }}"/></a>
{{ end }}
{{ if and (.Site.Params.apps.musicTitle) (.Site.Params.apps.musicImg) (.Site.Params.apps.musicURL) }}
<a title="{{ .Site.Params.apps.musicTitle }}" href="{{ .Site.Params.apps.musicURL }}"><img src="{{ .Site.Params.apps.musicImg }}"/></a>
{{ end }}
{{ if and (.Site.Params.apps.gitTitle) (.Site.Params.apps.gitImg) (.Site.Params.apps.gitURL) }}
<a title="{{ .Site.Params.apps.gitTitle }}" href="{{ .Site.Params.apps.gitURL }}"><img src="{{ .Site.Params.apps.gitImg }}"/></a>
{{ end }}
</section>