diff --git a/Chapter_2_Go_ChitChat/chitchat/templates/layout.html b/Chapter_2_Go_ChitChat/chitchat/templates/layout.html index e9cfe61d..8d3cbd03 100644 --- a/Chapter_2_Go_ChitChat/chitchat/templates/layout.html +++ b/Chapter_2_Go_ChitChat/chitchat/templates/layout.html @@ -1,5 +1,3 @@ -{{ define "layout" }} -
@@ -23,5 +21,3 @@ - -{{ end }} \ No newline at end of file diff --git a/Chapter_2_Go_ChitChat/chitchat/templates/login.layout.html b/Chapter_2_Go_ChitChat/chitchat/templates/login.layout.html index 5fa0df0e..0db1da1c 100644 --- a/Chapter_2_Go_ChitChat/chitchat/templates/login.layout.html +++ b/Chapter_2_Go_ChitChat/chitchat/templates/login.layout.html @@ -1,5 +1,3 @@ -{{ define "layout" }} - @@ -12,6 +10,8 @@ + {{ template "navbar" . }} +