remove unnecessary displayname property
1 file changed, 0 insertions(+), 7 deletions(-)
changed files
M routes/routes.go → routes/routes.go
@@ -94,7 +94,6 @@ pageData := templates.PageData{ Meta: d.c.Meta, Name: repoName, - DisplayName: getDisplayName(repoName), Ref: mainBranch, Description: getDescription(repoPath), Servername: d.c.Server.Name,@@ -126,7 +125,6 @@ } data := make(map[string]any) data["name"] = repoName - data["displayname"] = getDisplayName(repoName) data["ref"] = ref data["parent"] = treePath data["desc"] = getDescription(repoPath)@@ -160,7 +158,6 @@ return err } data := make(map[string]any) data["name"] = repoName - data["displayname"] = getDisplayName(repoName) data["ref"] = ref data["desc"] = getDescription(repoPath) data["path"] = treePath@@ -242,7 +239,6 @@ pageData := templates.PageData{ Meta: d.c.Meta, Name: repoName, - DisplayName: getDisplayName(repoName), Ref: ref, Description: getDescription(repoPath), Log: true,@@ -273,7 +269,6 @@ Meta: d.c.Meta, Name: repoName, Stat: diff.Stat, Diff: diff.Diff, - DisplayName: getDisplayName(repoName), Ref: ref, Description: getDescription(repoPath), }@@ -303,7 +298,6 @@ } pageData := templates.PageData{ Meta: d.c.Meta, - DisplayName: getDisplayName(repoName), Name: repoName, Ref: ref, Description: getDescription(repoPath),@@ -339,7 +333,6 @@ pageData := templates.PageData{ Meta: d.c.Meta, Name: repoName, - DisplayName: getDisplayName(repoName), Description: getDescription(repoPath), }