From de8a5051e7ef3223071b0682d87e33447e4ffe73 Mon Sep 17 00:00:00 2001 From: Tim Wundenberg Date: Thu, 22 Aug 2024 18:18:37 +0200 Subject: [PATCH] #109 some work on index.templ --- main.go | 1 - templates/index.templ | 31 ++++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/main.go b/main.go index fc06aa1..c1d0e30 100644 --- a/main.go +++ b/main.go @@ -44,4 +44,3 @@ func main() { panic(err) } } - diff --git a/templates/index.templ b/templates/index.templ index c7ff2b5..8b3c53d 100644 --- a/templates/index.templ +++ b/templates/index.templ @@ -1,17 +1,18 @@ -package main +package templates -templ hello(name string) { - - - - - - - - %sveltekit.head% - - -
%sveltekit.body%
- - +templ header() { +} + +templ index(name string) { + + + + + ME-FIT + + + + + + }