From 892858567f0b5bc8719801bacd1e81d4334c2c7e Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Sat, 9 Nov 2024 22:49:17 +0100 Subject: feat(style): simple card --- templates/base/base.gohtml | 2 +- templates/page/index.gohtml | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'templates') 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}} - {{template "body" .}} + {{template "body" .Data}} 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 @@
{{ .Person.Name }}'s image
-

{{ .Person.Name }}

-

{{ .Person.Pronouns }}

+
+

{{ .Person.Name }}

+

{{ .Person.Pronouns }}

+

{{ .Description }}

+ {{end}} \ No newline at end of file -- cgit v1.2.3