diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 01:36:12 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 01:36:12 +0530 |
commit | 77d4a98a666ef6c2c18c10f2f2d62210f9eeb752 (patch) | |
tree | 11c75334b682009ff015a0fcd2e8eddc7eb4d315 /layouts/index.html |
first commit
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..46e5188 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,24 @@ +{{ define "main" }} +<div id="home-wrapper"> + <div id="home"> + <div id="nav-wrapper"> + <div id="my-image-wrapper"> + <img id="my-image" src="{{ .Params.img }}" alt="{{ .Params.alt }}"> + </div> + + <div id="title-nav"> + <h1>{{ .Params.navTitle }}</h1> + <nav> + {{ range .Site.Params.homepageLinks }} + <a href="{{ index . 1 }}">{{ index . 0 }}</a> + {{ end }} + </nav> + </div> + </div> + + <div id="content"> + {{ .Content }} + </div> + </div> +</div> +{{ end }} |