-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't know the meaning of templates/article.html #10
Comments
I have no idea why article not work fine, I try to modify and it's work. base.html Title: {{ .title }}
index template: {{template "body" .}} article.html {{define "body"}}
Hi {{ .title }}, this is article template
{{end}} index.html
example.go
|
After 3 years still not corrected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ran the example and don't know the meaning of
templates/article.html
.As I view
http://localhost:8080/article
, I gotWhat's the relationship of this page with
templates/article.html
???The text was updated successfully, but these errors were encountered: