diff --git a/gomall/tutorial/ch10/app/frontend/template/header.tmpl b/gomall/tutorial/ch10/app/frontend/template/header.tmpl index 51a456d9..952fd256 100644 --- a/gomall/tutorial/ch10/app/frontend/template/header.tmpl +++ b/gomall/tutorial/ch10/app/frontend/template/header.tmpl @@ -36,8 +36,9 @@ About - diff --git a/gomall/tutorial/ch10/app/frontend/template/home.tmpl b/gomall/tutorial/ch10/app/frontend/template/home.tmpl index 4175ca89..5f5958c2 100644 --- a/gomall/tutorial/ch10/app/frontend/template/home.tmpl +++ b/gomall/tutorial/ch10/app/frontend/template/home.tmpl @@ -3,11 +3,13 @@
{{range .items}}
- ... -
-

{{ .Name}}

-
{{ .Price}}
-
+ + ... +
+

{{ .Name}}

+
{{ .Price}}
+
+
{{end}}