summaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahmubashshir@gmail.com>2023-08-02 14:19:46 +0600
committerLibravatar Mubashshir <ahm@jadupc.com>2023-08-02 14:20:47 +0600
commite131686760d4325ed5316033d60d5ac81ada0d1c (patch)
treed91c0b3a7175fb3f26816ea41be60cc5bd5cc9d0 /layouts/index.html
downloadstore-source-e131686760d4325ed5316033d60d5ac81ada0d1c.tar.gz
store-source-e131686760d4325ed5316033d60d5ac81ada0d1c.zip
Initial commit
Signed-off-by: Mubashshir <ahm@jadupc.com>
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..d0b2bab
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,17 @@
+{{- define "title" -}} Home {{- end -}}
+
+{{- define "main" -}}
+ <main aria-role="main">
+ <header class="homepage-header">
+ <h1>{{ .Title }}</h1>
+ {{ with .Params.subtitle }}
+ <span class="subtitle">{{ . }}</span>
+ {{ end }}
+ </header>
+ <div class="app-container">
+ {{- range $app, $info := $.Site.Data.app }}
+ {{- partial "partials/app.html" (dict "id" $app "data" $info) -}}
+ {{ end -}}
+ </div>
+ </main>
+{{- end -}}