diff --git a/config/config.go b/config/config.go index 69ede1d..b2c0e00 100644 --- a/config/config.go +++ b/config/config.go @@ -7,7 +7,7 @@ import ( ) const ( - TemplateDir = "views" + TemplateDir = "templates" TemplateExt = ".gohtml" StaticDir = "static" StaticPrefix = "files" diff --git a/views/components/forms.gohtml b/templates/components/forms.gohtml similarity index 100% rename from views/components/forms.gohtml rename to templates/components/forms.gohtml diff --git a/views/components/head.gohtml b/templates/components/head.gohtml similarity index 100% rename from views/components/head.gohtml rename to templates/components/head.gohtml diff --git a/views/components/messages.gohtml b/templates/components/messages.gohtml similarity index 100% rename from views/components/messages.gohtml rename to templates/components/messages.gohtml diff --git a/views/layouts/auth.gohtml b/templates/layouts/auth.gohtml similarity index 100% rename from views/layouts/auth.gohtml rename to templates/layouts/auth.gohtml diff --git a/views/layouts/main.gohtml b/templates/layouts/main.gohtml similarity index 100% rename from views/layouts/main.gohtml rename to templates/layouts/main.gohtml diff --git a/views/pages/about.gohtml b/templates/pages/about.gohtml similarity index 100% rename from views/pages/about.gohtml rename to templates/pages/about.gohtml diff --git a/views/pages/contact.gohtml b/templates/pages/contact.gohtml similarity index 100% rename from views/pages/contact.gohtml rename to templates/pages/contact.gohtml diff --git a/views/pages/error.gohtml b/templates/pages/error.gohtml similarity index 100% rename from views/pages/error.gohtml rename to templates/pages/error.gohtml diff --git a/views/pages/home.gohtml b/templates/pages/home.gohtml similarity index 100% rename from views/pages/home.gohtml rename to templates/pages/home.gohtml diff --git a/views/pages/login.gohtml b/templates/pages/login.gohtml similarity index 100% rename from views/pages/login.gohtml rename to templates/pages/login.gohtml diff --git a/views/pages/register.gohtml b/templates/pages/register.gohtml similarity index 100% rename from views/pages/register.gohtml rename to templates/pages/register.gohtml