~adnano/kiln-devel

templates.go: Resolve symlinks v2 APPLIED

Edd Salkield: 1
 templates.go: Resolve symlinks

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~adnano/kiln-devel/patches/35569/mbox | git am -3
Learn more about email & git

[PATCH v2] templates.go: Resolve symlinks Export this patch

---
 templates.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates.go b/templates.go
index 0fc7d94..786c084 100644
--- a/templates.go
+++ b/templates.go
@@ -108,7 +108,7 @@ func (t *Templates) Load(dir string, exts []string) error {
		if err != nil {
			return err
		}
		if d.Type().IsRegular() {
		if d.Type().IsRegular() || d.Type()&fs.ModeSymlink != 0 {
			if err := t.LoadTemplate(fsys, path); err != nil {
				return err
			}
-- 
2.37.3
Thanks!

To git@git.sr.ht:~adnano/kiln
   ff4d614..4b39c0b  master -> master