diff options
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 }} |