diff options
author | 2024-04-08 14:15:04 +0530 | |
---|---|---|
committer | 2024-04-08 14:15:04 +0530 | |
commit | 5262ce213bde042fe03619c75ae3ac0316806853 (patch) | |
tree | e831d1b1347b5616e990fe3beb8772eeb34d24a1 /themes/coming-soon/layouts | |
download | blacklist-5262ce213bde042fe03619c75ae3ac0316806853.tar.gz blacklist-5262ce213bde042fe03619c75ae3ac0316806853.tar.bz2 blacklist-5262ce213bde042fe03619c75ae3ac0316806853.zip |
comming-soon Blacklist
Diffstat (limited to 'themes/coming-soon/layouts')
-rw-r--r-- | themes/coming-soon/layouts/_default/baseof.html | 6 | ||||
-rw-r--r-- | themes/coming-soon/layouts/index.html | 56 | ||||
-rw-r--r-- | themes/coming-soon/layouts/partials/head.html | 13 | ||||
-rw-r--r-- | themes/coming-soon/layouts/partials/twitter-feed.html | 1 |
4 files changed, 76 insertions, 0 deletions
diff --git a/themes/coming-soon/layouts/_default/baseof.html b/themes/coming-soon/layouts/_default/baseof.html new file mode 100644 index 0000000..b2fb081 --- /dev/null +++ b/themes/coming-soon/layouts/_default/baseof.html @@ -0,0 +1,6 @@ +<!DOCTYPE html> +<html lang="en"> +<!-- A HUGO theme by mansoorbarri.com --> + {{- partial "head.html" . -}} + {{- block "main" . }}{{- end }} +</html> 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 diff --git a/themes/coming-soon/layouts/partials/head.html b/themes/coming-soon/layouts/partials/head.html new file mode 100644 index 0000000..4f18d89 --- /dev/null +++ b/themes/coming-soon/layouts/partials/head.html @@ -0,0 +1,13 @@ +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>{{ .Site.Params.title}}</title> + <link rel="canonical" href="{{ .Permalink }}"> + {{ if .Site.Params.favicon }} + <link rel="icon" type="image/x-icon" href="{{ .Site.Params.favicon | relURL}}"> + {{ else }} + <link rel="icon" type="image/x-icon" href="{{ relURL "favicon.ico"}}"> + {{ end }} + <link rel="stylesheet" href="{{ "/css/styles.css" | relURL }}"> + <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> +</head>
\ No newline at end of file diff --git a/themes/coming-soon/layouts/partials/twitter-feed.html b/themes/coming-soon/layouts/partials/twitter-feed.html new file mode 100644 index 0000000..fac330a --- /dev/null +++ b/themes/coming-soon/layouts/partials/twitter-feed.html @@ -0,0 +1 @@ +<a class="twitter-timeline" href="https://twitter.com/{{ .Site.Params.twitter.username }}" data-height="450" data-theme="dark">Tweets by {{ .Site.Params.twitter.username }}</a>
\ No newline at end of file |