diff options
Diffstat (limited to 'themes/coming-soon/layouts/index.html')
-rw-r--r-- | themes/coming-soon/layouts/index.html | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/themes/coming-soon/layouts/index.html b/themes/coming-soon/layouts/index.html new file mode 100644 index 0000000..d7c4825 --- /dev/null +++ b/themes/coming-soon/layouts/index.html @@ -0,0 +1,56 @@ + +{{ define "main" }} + <div class="bgimg"> + <video autoplay muted loop poster="poster.jpg"> + {{ if .Site.Params.background }} + <source src="{{ .Site.Params.background }}" type="video/mp4"> + {{ else }} + <source src="bg.mp4" type="video/mp4"> + {{ end }} + </video> + {{ if .Site.Params.twitter.enable }} + <div class="topright"> + {{ partial "twitter-feed.html" . }} + </div> + {{ end }} + <div class="topleft"> + {{ if .Site.Params.title }} + <p>{{ .Site.Params.title }}</p> + {{ else }} + <p>Coming Soon HUGO</p> + {{ end }} + </div> + <div class="middle"> + {{ if .Site.Params.message }} + <h1>{{ .Site.Params.message }}</h1> + {{ else }} + <h1>COMING SOON</h1> + {{ end }} + <hr> + <p id="demo"></p> + <div id="countdown" data-release="{{ .Site.Params.release }}"></div> + </div> + <div class="bottomleft"> + <p> + {{ .Site.Params.description}}</p> + </div> + </div> + <div class="left"> + {{ if isset .Site.Params "socialicons" }} + <section class="social-icons"> + <ul class="social-icons-list"> + {{ range .Site.Params.SocialIcons }} + <li class="social-icon"> + {{ $iconName := .name }} + <a href="{{ if eq $iconName "email" }}mailto:{{ .url }} {{ else }}{{ .url }}{{ end }}" + {{ if .rel }}rel="{{ .rel }}"{{ end }}> + <img src="{{ $.Site.BaseURL }}/svg/icons/{{ .name }}.svg" alt="test" /> + </a> + </li> + {{ end }} + </ul> + </section> + {{ end }} + </div> + <script src="{{ "/js/script.js" | relURL }}"></script> +{{ end }}
\ No newline at end of file |