From c8925b971149706b74420d3684de0908b2d5aeb5 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Fri, 10 Jan 2025 15:45:34 +0100 Subject: Created module, link assets instead of img folder --- site.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'site.go') diff --git a/site.go b/site.go index 436ce34..0098fd8 100644 --- a/site.go +++ b/site.go @@ -48,8 +48,8 @@ func generateSite(site siteData, cfg config, outputDir string) { } } - // link images to generation directory - err := os.Symlink(filepath.Join(site.sourcePath, "img"), filepath.Join(outputDir, site.rawName, "img")) + // link assets to generation directory + err := os.Symlink(filepath.Join(site.sourcePath, "assets"), filepath.Join(outputDir, site.rawName, "assets")) if err != nil { panic(err) } -- cgit v1.2.3