add an alt text for the git clone command
1 files changed, 4 insertions(+), 2 deletions(-) M files.go
M files.go => files.go +4 -2
@@ 116,8 116,10 @@ func createIndexFile() { indexFile, err := os.Create(filepath.Join(distPath, "index.gmi")) check(err) if cloneURL != "" { indexFile.WriteString("```\ngit clone " + strings.TrimSpace(cloneURL) + "\n```\n\n") url := strings.TrimSpace(cloneURL) if url != "" { descr := "Command to clone this repository" fmt.Fprintf(indexFile, "```%s\ngit clone %s\n```\n\n", descr, url) } indexFile.WriteString("=> " + commitsSubPath + "/\n")