diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-09 21:52:13 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-09 21:52:13 +0100 |
| commit | d25e04d8c736e5ee0a4bdc2531a6047dccc81013 (patch) | |
| tree | e12332d91cdeba5ffb4a99d70e045b24afa661bf /templates/page/index.gohtml | |
| parent | a50d678a6757212f6f7fdcb0c35641fb18874872 (diff) | |
feat(data): parse json and render simple thing
Diffstat (limited to 'templates/page/index.gohtml')
| -rw-r--r-- | templates/page/index.gohtml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/page/index.gohtml b/templates/page/index.gohtml new file mode 100644 index 0000000..dbc228a --- /dev/null +++ b/templates/page/index.gohtml @@ -0,0 +1,12 @@ +{{define "body"}} + <main> + <div class="presentation"> + <figure> + <img src="{{ getStaticPath .Person.Image }}" alt="{{ .Person.Name }}'s image"> + </figure> + <h2>{{ .Person.Name }}</h2> + <p>{{ .Person.Pronouns }}</p> + </div> + <p class="description">{{ .Description }}</p> + </main> +{{end}}
\ No newline at end of file |
