diff --git a/core/section/github/commits_template.go b/core/section/github/commits_template.go
index 20a80333..09caf910 100644
--- a/core/section/github/commits_template.go
+++ b/core/section/github/commits_template.go
@@ -81,13 +81,13 @@ const commitsTemplate = `
{{$commit.Message}}
+ {{$commit.Branch}}
|
|
diff --git a/core/section/github/github.go b/core/section/github/github.go
index 42fe6366..26bebe2e 100644
--- a/core/section/github/github.go
+++ b/core/section/github/github.go
@@ -15,7 +15,7 @@ import (
"bytes"
"encoding/json"
"errors"
- "fmt"
+ //"fmt"
"html/template"
"io/ioutil"
"net/http"
@@ -236,9 +236,9 @@ func (p *Provider) Render(ctx *provider.Context, config, data string) string {
if err != nil {
log.Error("github render template.Parse error:", err)
- for k, v := range strings.Split(rep.template, "\n") {
- fmt.Println("DEBUG", k+1, v)
- }
+ //for k, v := range strings.Split(rep.template, "\n") {
+ // fmt.Println("DEBUG", k+1, v)
+ //}
return "Documize internal github template.Parse error: " + err.Error()
}
diff --git a/core/section/github/milestones_template.go b/core/section/github/milestones_template.go
index 653d232b..a98316e3 100644
--- a/core/section/github/milestones_template.go
+++ b/core/section/github/milestones_template.go
@@ -33,7 +33,7 @@ const (
- Milestones {{.ClosedMS}} {{if eq 1 .ClosedMS}} closed and {{.OpenMS}} {{if eq 1 .OpenMS}} open
+ | Milestones {{.ClosedMS}} closed and {{.OpenMS}} open
|
|