diff --git a/pkg/context/notice.go b/pkg/context/notice.go index 2ac1d453d..c5a749ddc 100644 --- a/pkg/context/notice.go +++ b/pkg/context/notice.go @@ -19,7 +19,7 @@ import ( // renderNoticeBanner checks if a notice banner file exists and loads the message to display // on all pages. func (c *Context) renderNoticeBanner() { - fpath := path.Join(setting.CustomPath, "notice/banner.md") + fpath := path.Join(setting.CustomPath, "notice", "banner.md") if !com.IsExist(fpath) { return }