Skip to content

Go 1.7: {{if}} branches end in different contexts #2331

Closed
@strk

Description

@strk

As of commit e08d1fc (current master branch) new installation fails with following error:

html/template:user/dashboard/repo-search:3:13: {{if}} branches end in different contexts: {stateJSRegexp delimNone urlPartNone jsCtxRegexp attrNone elementScript }, {stateJS delimNone urlPartNone jsCtxRegexp attrNone elementScript }

Gitea has been built with go build.
The offending route is the default one (/) which is were you are directed right after install.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/regressionIndicates a previously functioning feature or behavior that has broken or regressed after a changetype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions