Changes
2 changed files (+4/-4)
-
-
@@ -64,13 +64,13 @@ summaries = append(summaries, repositorySummary{DisplayName: getDisplayName(name), DirName: name, Description: getDescription(path), LastCommitAtRelative: humanize.Time(c.Author.When), LastCommitAtRelative: humanize.Time(c.Committer.When), LastCommit: c, }) } sort.Slice(summaries, func(i, j int) bool { return summaries[j].LastCommit.Author.When.Before(summaries[i].LastCommit.Author.When) return summaries[j].LastCommit.Committer.When.Before(summaries[i].LastCommit.Committer.When) }) tpath := filepath.Join(d.c.Dirs.Templates, "*")
-
-
-
@@ -32,8 +32,8 @@ {{- .DisplayName -}}</span> <span>{{ .Description }}</span> <time datetime='{{ .LastCommit.Author.When.Format "2006-01-02T15:04:05-0700" }}' title='{{ .LastCommit.Author.When.Format "2006-01-02 15:04:05 -0700" }}' datetime='{{ .LastCommit.Committer.When.Format "2006-01-02T15:04:05-0700" }}' title='{{ .LastCommit.Committer.When.Format "2006-01-02 15:04:05 -0700" }}' > {{- .LastCommitAtRelative -}} </time>
-