diff options
| author | Nicolas Paul <n@nc0.fr> | 2023-05-02 22:50:30 +0200 |
|---|---|---|
| committer | Nicolas Paul <n@nc0.fr> | 2023-05-02 22:50:30 +0200 |
| commit | 4777024e0a5cfba1c1cd5f1f57b99693f4a6760e (patch) | |
| tree | 70d075206259b9fd5ae89a09d7ab1eff7c2bf0a4 | |
| parent | ee181818c030315a69eff69faf79a7f2ba09b59f (diff) | |
Make slug have the file extension
| -rw-r--r-- | crocc.go | 1 | ||||
| -rw-r--r-- | sitemap.go | 5 |
2 files changed, 0 insertions, 6 deletions
@@ -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 |
