From ee0d8aed15902b6b76a14e2612c5ec661b320dc3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 15 Apr 2024 22:53:29 +0200 Subject: reduce diffs to typescript builder --- cmd/build/atom.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd/build/atom.go') diff --git a/cmd/build/atom.go b/cmd/build/atom.go index 9116278..e071af9 100644 --- a/cmd/build/atom.go +++ b/cmd/build/atom.go @@ -7,7 +7,7 @@ import ( . "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 Link struct { 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 @@ type FeedEntry struct { 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"` } -- cgit 1.4.1