markdownify portfolio & service sections

master
Aaron N. Brock 4 years ago
parent c28b5cace1
commit 707da63efe
  1. 5
      exampleSite/data/portfolioSection.yml
  2. 2
      exampleSite/data/serviceSection.yml
  3. 10
      layouts/partials/portfolioSection.html
  4. 4
      layouts/partials/serviceSection.html

@ -0,0 +1,5 @@
---
enable: true
topTitle: My Portfolio
title: >
## Check Some of My Recent Work

@ -1,7 +1,7 @@
---
enable: true
topTitle: Working Area
content: >
title: >
## Creative Services
Enjoy team diversity and increase their networks among others people in

@ -1,10 +1,12 @@
{{ with .Site.Data.portfolioSection }}
{{ if .enable }}
<section class="section portfolio" id="portfolio">
<div class="container">
<div class="row text-center">
<div class="col-lg-6 offset-lg-3">
<div class="portfolio__header">
<span>My Portfolio</span>
<h2>Check Some of Our Recent Work.</h2>
<span class="topTitle">{{ .topTitle }}</span>
{{ .title | markdownify }}
</div>
</div>
</div>
@ -27,4 +29,6 @@
</div>
</div>
</div>
</section>
</section>
{{ end }}
{{ end }}

@ -30,8 +30,8 @@
<div class="row">
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="service__header">
<span>{{ .topTitle }}</span>
{{ .content | markdownify }}
<span class="topTitle">{{ .topTitle }}</span>
{{ .title | markdownify }}
</div>
</div>
</div>

Loading…
Cancel
Save