init
This commit is contained in:
25
themes/hugo-agency-theme/layouts/partials/services.html
Normal file
25
themes/hugo-agency-theme/layouts/partials/services.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{{ "<!-- Services -->" | safeHTML }}
|
||||
<section id="services">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 text-center">
|
||||
<h2 class="section-heading">{{ with .Site.Params.services.title }}{{ . }}{{ end }}</h2>
|
||||
<h3 class="section-subheading text-muted">{{ with .Site.Params.services.subtitle }}{{ . | markdownify }}{{ end }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
{{ range .Site.Params.services.row }}
|
||||
<div class="row text-center">
|
||||
{{ range .list }}
|
||||
<div class="col-md-4">
|
||||
<span class="fa-stack fa-4x">
|
||||
<i class="fa fa-circle fa-stack-2x text-primary"></i>
|
||||
<i class="fa {{ .icon }} fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<h4 class="service-heading">{{ if .url }}<a href="{{ .url | absURL }}">{{ .title | markdownify }}</a>{{ else }}{{ .title | markdownify }}{{ end }}</h4>
|
||||
<p class="text-muted">{{ .description | markdownify }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user