aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-09 22:49:17 +0100
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-09 22:49:17 +0100
commit892858567f0b5bc8719801bacd1e81d4334c2c7e (patch)
treef34d01b0ee1d27461f7f130fb287fe7a21c69619 /templates
parentf616d8f24e96c3f400d47a9f0ecc2af70d4694d4 (diff)
feat(style): simple card
Diffstat (limited to 'templates')
-rw-r--r--templates/base/base.gohtml2
-rw-r--r--templates/page/index.gohtml11
2 files changed, 10 insertions, 3 deletions
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml
index 5859805..f8c6678 100644
--- a/templates/base/base.gohtml
+++ b/templates/base/base.gohtml
@@ -10,7 +10,7 @@
{{template "opengraph-base" .SEO}}
</head>
<body>
- {{template "body" .}}
+ {{template "body" .Data}}
<script type="module" src="{{getAssetPath "index.js"}}" defer></script>
</body>
</html>
diff --git a/templates/page/index.gohtml b/templates/page/index.gohtml
index dbc228a..390ca7b 100644
--- a/templates/page/index.gohtml
+++ b/templates/page/index.gohtml
@@ -4,9 +4,16 @@
<figure>
<img src="{{ getStaticPath .Person.Image }}" alt="{{ .Person.Name }}'s image">
</figure>
- <h2>{{ .Person.Name }}</h2>
- <p>{{ .Person.Pronouns }}</p>
+ <div class="presentation__information">
+ <h2>{{ .Person.Name }}</h2>
+ <p>{{ .Person.Pronouns }}</p>
+ </div>
</div>
<p class="description">{{ .Description }}</p>
+ <div class="links">
+ <div class="link"><a href="">Link 1</a></div>
+ <div class="link"><a href="">Link 2</a></div>
+ <div class="link"><a href="">Link 3</a></div>
+ </div>
</main>
{{end}} \ No newline at end of file