reduce diffs to typescript builder
1 file changed, 3 insertions(+), 3 deletions(-)
changed files
M cmd/build/atom.go → cmd/build/atom.go
@@ -7,7 +7,7 @@ . "alanpearce.eu/website/internal/config" ) -func makeTagURI(config Config, specific string) string { +func MakeTagURI(config Config, specific string) string { return "tag:" + config.OriginalDomain + "," + config.DomainStartDate + ":" + specific }@@ -18,7 +18,7 @@ Type string `xml:"type,attr"` Href string `xml:"href,attr"` } -func makeLink(url string) Link { +func MakeLink(url string) Link { return Link{ Rel: "alternate", Type: "text/html",@@ -38,6 +38,6 @@ Link Link `xml:"link"` Id string `xml:"id"` Updated time.Time `xml:"updated"` Summary string `xml:"summary,omitempty"` - Author string `xml:"author>name"` Content FeedContent `xml:"content"` + Author string `xml:"author>name"` }