2016-12-06 12:58:31 -05:00
|
|
|
// Copyright 2016 The Gitea Authors. All rights reserved.
|
2022-11-27 13:20:29 -05:00
|
|
|
// SPDX-License-Identifier: MIT
|
2016-12-06 12:58:31 -05:00
|
|
|
|
2021-08-24 11:47:09 -05:00
|
|
|
//go:build !bindata
|
|
|
|
|
2016-12-06 12:58:31 -05:00
|
|
|
package templates
|
|
|
|
|
|
|
|
import (
|
2023-04-12 05:16:45 -05:00
|
|
|
"code.gitea.io/gitea/modules/assetfs"
|
2016-12-06 12:58:31 -05:00
|
|
|
"code.gitea.io/gitea/modules/setting"
|
|
|
|
)
|
|
|
|
|
2023-04-12 05:16:45 -05:00
|
|
|
func BuiltinAssets() *assetfs.Layer {
|
|
|
|
return assetfs.Local("builtin(static)", setting.StaticRootPath, "templates")
|
2016-12-06 12:58:31 -05:00
|
|
|
}
|