all repos — homestead @ 65039b065ba634b9c4b4c7f4b42ebccdbfd40ce0

Code for my website

remove buffers in file writer

Alan Pearce
commit

65039b065ba634b9c4b4c7f4b42ebccdbfd40ce0

parent

f7d8beffaa09ecf863996d29c72f508eb3952c84

1 file changed, 6 insertions(+), 2 deletions(-)

changed files
M domain/vanity/templates/gopkg.godomain/vanity/templates/gopkg.go
@@ -17,7 +17,7 @@ Domain config.URL
Forge config.URL } -func GoPackageListPage(site templates.SiteSettings, cfg *config.GoPackagesConfig) g.Node { +func GoPackageListPage(site templates.SiteSettings, cfg *config.GoPackagesConfig) g.NodeWriter { return templates.Layout(site, templates.PageSettings{ Title: site.Title, TitleAttrs: templates.Attrs{"class": "p-author h-card"},
@@ -43,7 +43,11 @@ ),
) } -func GoPackagePage(site templates.SiteSettings, cfg *config.GoPackagesConfig, pkg string) g.Node { +func GoPackagePage( + site templates.SiteSettings, + cfg *config.GoPackagesConfig, + pkg string, +) g.NodeWriter { return templates.Layout(site, templates.PageSettings{ Title: site.Title, TitleAttrs: templates.Attrs{"class": "p-author h-card"},