publiccode.si/site/layouts/partials/about.html

27 lines
1.0 KiB
HTML

{{ "<!-- ABOUT -->" | safeHTML }}
<section class="bg-primary" id="about">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
{{ with .Site.Params.about.headline }}
<h2 class="section-heading">{{ . }}</h2>
{{ end }}
{{ if and .Site.Params.about.headline .Site.Params.about.description }}
<hr class="light">
{{ end }}
<!-- VIDEO -->
{{ partial "functions/video_vimeo.html" . }}
<!-- /VIDEO -->
{{ with .Site.Params.about.description }}
<p class="text-faded">{{ . | markdownify }}</p>
{{ end }}
{{ with .Site.Params.about.buttonText }}
<a href="#arguments" class="btn btn-default btn-xl page-scroll">{{ . }}</a>
{{ end }}
</div>
</div>
</div>
</section>