Mercurial > yakumo_izuru > aya
diff main.go @ 52:befb74a09424 draft
Code cleanup
author | prologic |
---|---|
date | Thu, 28 Oct 2021 16:10:15 +0000 |
parents | e054275d0938 |
children |
line wrap: on
line diff
--- a/main.go Sat Oct 23 03:57:19 2021 +0000 +++ b/main.go Thu Oct 28 16:10:15 2021 +0000 @@ -33,9 +33,8 @@ } if oldext == "" || strings.HasSuffix(path, oldext) { return strings.TrimSuffix(path, oldext) + newext - } else { - return path } + return path } // globals returns list of global OS environment variables that start @@ -169,7 +168,7 @@ } } } - return s, nil + } // Renders markdown with the given layout into html expanding all the macros