Skip to content

Commit

Permalink
Update html-templates.md
Browse files Browse the repository at this point in the history
  • Loading branch information
quii authored Jan 18, 2022
1 parent ea004bd commit f16dfa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ Go is wonderful for web development, especially when you think clearly about wha
### What we've learned

- How to create and render HTML templates.
- How to compose templates together and [DRY](https://en.wikipedia.org/wiki/Don't_repeat_yourself) up related markup.
- How to compose templates together and [DRY](https://en.wikipedia.org/wiki/Don't_repeat_yourself) up related markup and help us keep a consistent look and feel.
- How to pass functions into templates, and why you should think twice about it.
- How to write "Approval Tests", which help us test the big ugly output of things like template renderers.

Expand All @@ -1015,4 +1015,4 @@ Remember that go has `text/template` to generate other kinds of data from a temp
### References and further material

- [John Calhoun's 'Learn Web Development with Go'](https://www.calhoun.io/intro-to-templates-p1-contextual-encoding/) has a number of excellent articles on templating.
- [Hotwire](https://hotwired.dev) - You can use these techniques to create Hotwire web applications. It has been built by Basecamp who are primarily a Ruby on Rails shop, but because it is server-side, we can use it with Go.
- [Hotwire](https://hotwired.dev) - You can use these techniques to create Hotwire web applications. It has been built by Basecamp who are primarily a Ruby on Rails shop, but because it is server-side, we can use it with Go.

0 comments on commit f16dfa7

Please sign in to comment.