diff options
Diffstat (limited to 'web/index.go')
| -rw-r--r-- | web/index.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/web/index.go b/web/index.go index 6ef84b5..0dc8b7f 100644 --- a/web/index.go +++ b/web/index.go @@ -1,9 +1,15 @@ package web -import "github.com/a-h/templ" +import ( + "github.com/a-h/templ" +) func Base(title string, body templ.Component) templ.Component { - return base(title, body) + return base(title, body, nil) +} + +func BaseWithOGTags(title string, body templ.Component, ogTags map[string]string) templ.Component { + return base(title, body, ogTags) } func Index() templ.Component { |
