- commit
- 1833a80
- parent
- 8710d5e
- author
- Eric Bower
- date
- 2023-08-13 16:38:07 +0000 UTC
refactor: root project
3 files changed,
+4,
-7
+0,
-2
1@@ -6,8 +6,6 @@
2 <meta name="viewport" content="width=device-width, initial-scale=1" />
3 <title>{{template "title" .}}</title>
4
5- <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
6-
7 <meta name="keywords" content="git code forge repo repository" />
8
9 <link rel="stylesheet" href="/main.css" />
+1,
-2
1@@ -1,7 +1,6 @@
2 {{define "header"}}
3 <h1 class="text-xl">
4- <a href="/">repos</a>
5- <span> / {{.Repo.RepoName}}</span>
6+ {{.Repo.RepoName}}
7 </h1>
8
9 <div class="text-lg">
M
main.go
+3,
-3
1@@ -797,15 +797,15 @@ func main() {
2 }
3 config.Logger.Infof("%+v", config)
4
5- config.copyStatic(filepath.Join(config.Outdir, "main.css"), mainCss)
6- config.copyStatic(filepath.Join(config.Outdir, "syntax.css"), syntaxCss)
7-
8 if len(revs) == 0 {
9 bail(fmt.Errorf("you must provide --revs"))
10 }
11
12 config.writeRepo()
13
14+ config.copyStatic(filepath.Join(config.Outdir, "main.css"), mainCss)
15+ config.copyStatic(filepath.Join(config.Outdir, "syntax.css"), syntaxCss)
16+
17 url := filepath.Join("/", "index.html")
18 config.Logger.Info(url)
19 }