123456789101112131415161718192021222324252627282930313233 |
- {{ define "header"}}
- {{- partial "_shared/navbar.html" . -}}
- {{ end }}
- {{ define "main" }}
- <div class="main-content">
- <header class="text-center">
- {{ with .Site.Params.index.picture }}
- <img src="{{ . | urlize | relURL }}" class="rounded-circle text-center index-image">
- {{ end }}
- <h1 class="index-title">{{ .Site.Params.index.title }}</h1>
- </header>
- <section class="text-center">
- {{ with .Site.Params.index.subtitle }}
- <h3 class="index-sub">{{ . }}</h3>
- {{ end }}
- {{ with .Site.Params.index.mdtext }}
- <h6 class="index-text">{{ . | markdownify }}</h6>
- {{ end }}
- </section>
- </div>
- {{- partial "_shared/social.html" . -}}
- {{ if isset .Site.Params.index "alertbar" }}
- {{ if .Site.Params.index.alertbar }}
- {{- partial "_shared/alertbar.html" . -}}
- {{ end }}
- {{ end }}
- {{end}}
- {{ define "footer" }}
- {{- partial "_shared/footer.html" . -}}
- {{end}}
|