diff options
| author | Nicolas Paul <n@nc0.fr> | 2023-04-26 21:08:50 +0200 |
|---|---|---|
| committer | Nicolas Paul <n@nc0.fr> | 2023-04-26 21:08:50 +0200 |
| commit | 8c79798252b6b09817c39b6988e096d014585455 (patch) | |
| tree | c23842ce1dac481f9655bb3b7fe11b7661cd1197 /template.go | |
| parent | e41107499d44001bbe949693db9202ec2ce74a6a (diff) | |
Add documentation site
Diffstat (limited to 'template.go')
| -rw-r--r-- | template.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/template.go b/template.go index 8bca4fd..fef5e0f 100644 --- a/template.go +++ b/template.go @@ -23,7 +23,6 @@ type TemplateData struct { Content string Site string Generator string - Sitemap string } // GenerateHTML generates the HTML file from the Markdown document. @@ -40,6 +39,5 @@ func GenerateHTML(file io.Writer, fm FrontMatter, content string) error { Content: content, Site: *url, Generator: fmt.Sprintf("crocc %s (https://crocc.nc0.fr)", version), - Sitemap: fmt.Sprintf("%s/sitemap.xml", *url), }) } |
