Skip to content

Commit

Permalink
use services.html partial
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcvetta committed May 14, 2015
1 parent 4b74db9 commit 393475f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{ partial "head.html" . }}
{{ partial "header.html" . }}
{{ partial "page_content.html" . }}
{{ partial "about.html" . }}
{{ partial "services.html" . }}
{{ partial "contact.html" . }}
{{ partial "footer.html" . }}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<section id="services">

<!-- Page Content -->
{{ range $index, $element := .Data.Pages }}{{ if eq .Section "post" }}
{{ range $index, $element := .Data.Pages }}{{ if eq .Section "services" }}
{{ if modBool $index 2 }}
<div class="content-section-a">

Expand Down Expand Up @@ -52,3 +54,5 @@ <h2 class="section-heading">{{ .Title }}</h2>
<!-- /.content-section-b -->
{{ end }}
{{ end }}

</section>

0 comments on commit 393475f

Please sign in to comment.