{{ define "main" }} {{ if .Site.Data.homepage.banner.enable }} {{ with .Site.Data.homepage.banner }} {{ end }} {{ end }} {{ if .Site.Data.homepage.preview.enable }} {{ with .Site.Data.homepage.preview }}
device
{{ range .pagePreview }}
page-preview
{{ end }}

{{ .title | markdownify }}

{{ .content | markdownify }}
    {{ range .inside }}
  • {{ .insideItem | markdownify }}
  • {{ end }}
{{ if .button.enable }} {{ with .button }} {{ .label }} {{ end }} {{ end }}
{{ end }} {{ end }} {{ if .Site.Data.homepage.service.enable }} {{ with .Site.Data.homepage.service }}
{{ range .serviceItem }}

{{ .title | markdownify }}

{{ .content | markdownify }}

{{ end }}
{{ end }} {{ end }} {{ if .Site.Data.homepage.quote.enable }} {{ with .Site.Data.homepage.quote }}

"{{ .quote | markdownify }}"

{{ if .quoteBy }} {{ end }}
{{ end }} {{ end }} {{ if .Site.Data.homepage.chapters.enable }} {{ with .Site.Data.homepage.chapters }}

{{ .title | markdownify }}

{{ .subtitle | markdownify }}

{{ range .chapter }}

{{ .title | markdownify }}

{{ .content | markdownify }}

{{ end }}
{{ end }} {{ end }} {{ if .Site.Data.homepage.reviews.enable }} {{ with .Site.Data.homepage.reviews }}

{{ .title | markdownify }}

{{ .subtitle | markdownify }}

{{ range .review}}
Testimonial author

{{ .name }}

{{ .designation }}

{{ .content | markdownify }}

{{ end }}
{{ end }} {{ end }} {{ if .Site.Data.homepage.devices.enable }} {{ with .Site.Data.homepage.devices }}

{{ .title | markdownify }}

{{ .content | markdownify }}

{{ range .feature }}
{{ if .icon }}
{{ end }}
{{ .title | markdownify }}

{{ .content | markdownify }}

{{ end }} {{ if .button.enable }} {{ with .button }} {{ .label }} {{ end }} {{ end }}
{{ end }} {{ end }} {{ if .Site.Data.homepage.author.enable }} {{ with .Site.Data.homepage.author }}
{{ .name }}

{{ .name }}

- {{ .designation }}

{{ .content | markdownify }} {{ if .signature }} {{ end }}
{{ end }} {{ end }} {{ if .Site.Data.homepage.awards.enable }} {{ with .Site.Data.homepage.awards }}

{{ .title | markdownify }}

{{ range .award }}
{{ .title | markdownify }}
{{ end }}
{{ end }} {{ end }} {{ if .Site.Data.homepage.otherBooks.enable }} {{ with .Site.Data.homepage.otherBooks }}

{{ .title | markdownify }}

{{ .subtitle | markdownify }}

{{ range .book }} {{ end }}
{{ end }} {{ end }} {{ if .Site.Data.homepage.blog.enable }}
{{ with .Site.Data.homepage.blog }}

{{ .title | markdownify }}

{{ .subtitle | markdownify }}

{{ end }}
{{ range first 3 (where .Site.RegularPages "Type" "post")}}
{{ .Render "post"}}
{{ end }}
{{ end }} {{ if .Site.Data.homepage.contact.enable }} {{ with .Site.Data.homepage.contact }}

{{ .title | markdownify }}

{{ .subtitle | markdownify }}

{{ range .contactItem }}

{{ .title | markdownify }}

{{ range .list }}
{{ .listItem }}
{{ end }}
{{ end }}
{{ end }} {{ end }} {{ end }}