diff options
author | Markus Wüstenberg | 2020-12-10 13:13:10 +0100 |
---|---|---|
committer | GitHub | 2020-12-10 13:13:10 +0100 |
commit | 100ae9e8308f380eeb3c6a5ea7a7e3277483aa43 (patch) | |
tree | 86176f9ef9393e6c06e7b8992b60176f1879fc3a /components | |
parent | a76262652b227c95ce140f3698c46f59b79354ac (diff) | |
download | gomponents-100ae9e8308f380eeb3c6a5ea7a7e3277483aa43.tar.lz gomponents-100ae9e8308f380eeb3c6a5ea7a7e3277483aa43.tar.zst gomponents-100ae9e8308f380eeb3c6a5ea7a7e3277483aa43.zip |
Rename Document to Doctype (#54)
Diffstat (limited to 'components')
-rw-r--r-- | components/documents.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/documents.go b/components/documents.go index e2d3a22..17b421a 100644 --- a/components/documents.go +++ b/components/documents.go @@ -25,7 +25,7 @@ func HTML5(p HTML5Props) g.NodeFunc { if p.Description != "" { description = Meta(Name("description"), Content(p.Description)) } - return Document( + return Doctype( HTML(lang, Head( Meta(Charset("utf-8")), |