summaryrefslogtreecommitdiffstats
path: root/modules/templates/dynamic.go
blob: e1babd83c9438d671734cc400b1b0516d6b38fd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2016 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

//go:build !bindata

package templates

import (
	"code.gitea.io/gitea/modules/assetfs"
	"code.gitea.io/gitea/modules/setting"
)

func BuiltinAssets() *assetfs.Layer {
	return assetfs.Local("builtin(static)", setting.StaticRootPath, "templates")
}