summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Paul <n@nc0.fr>2023-05-02 22:50:30 +0200
committerNicolas Paul <n@nc0.fr>2023-05-02 22:50:30 +0200
commit4777024e0a5cfba1c1cd5f1f57b99693f4a6760e (patch)
tree70d075206259b9fd5ae89a09d7ab1eff7c2bf0a4
parentee181818c030315a69eff69faf79a7f2ba09b59f (diff)
Make slug have the file extension
-rw-r--r--crocc.go1
-rw-r--r--sitemap.go5
2 files changed, 0 insertions, 6 deletions
diff --git a/crocc.go b/crocc.go
index d274992..3ecb147 100644
--- a/crocc.go
+++ b/crocc.go
@@ -21,7 +21,6 @@ var (
url = flag.String("url", "http://localhost", "site URL")
generateHidden = flag.Bool("hidden", false, "generate hidden pages")
printVersion = flag.Bool("version", false, "print version and exit")
- sitemap = flag.Bool("sitemap", false, "generate sitemap (will overwrite existing sitemap.xml)")
)
const usage string = `crocc is a simple Markdown-based static site generator.
diff --git a/sitemap.go b/sitemap.go
deleted file mode 100644
index 732dfd5..0000000
--- a/sitemap.go
+++ /dev/null
@@ -1,5 +0,0 @@
-// Copyright (c) 2023 Nicolas Paul All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package main