···4545 # Website's description.
4646 description: "web frontend for git repositories, written in Go"
47474848+ # Whether highlight repository's text file.
4949+ # NOTE: This applies only to blob page. Code blocks inside README will be untouched.
5050+ syntaxHighlight: true
5151+4852server:
4953 # legit uses this strings for clone URL.
5054 # `https://<name>/<directory>`
+1-1
config/config.go
···2323 Meta struct {
2424 Title string `yaml:"title"`
2525 Description string `yaml:"description"`
2626- SyntaxHighlight string `yaml:"syntaxHighlight"`
2626+ SyntaxHighlight bool `yaml:"syntaxHighlight"`
2727 } `yaml:"meta"`
2828 Server struct {
2929 Name string `yaml:"name,omitempty"`
+1-1
demo/config.yaml
···3838meta:
3939 title: legit Demo
4040 description: Test legit features with real repositories.
4141- syntaxHighlight: monokailight
4141+ syntaxHighlight: true
42424343server:
4444 name: example.com