CHANGE section design to be more dynamic
This commit is contained in:
parent
6032aebe80
commit
7239b2c45e
14 changed files with 90 additions and 83 deletions
|
@ -1,9 +1,7 @@
|
|||
{{- $team := .Site.Params.team }}
|
||||
{{- $team := .team }}
|
||||
{{ $length := len $team.members }}
|
||||
{{- $services := .Site.Params.services }}
|
||||
{{ $servicesLength := len $services }}
|
||||
{{ $odd := mod $servicesLength 2}}
|
||||
<div id="team" class="section {{if eq $odd 0}} section-even {{end}}">
|
||||
{{- $odd := .odd }}
|
||||
<div id="{{ $team.id }}" class="section {{if eq $odd 0}} section-even {{end}}">
|
||||
<div class="section-content team">
|
||||
<div class="title">
|
||||
<h1 class="content-title">{{ $team.title }}</h1>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue