aboutsummaryrefslogtreecommitdiffstats
path: root/site.go
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-01-10 15:45:34 +0100
committerEddy Pedroni <epedroni@pm.me>2025-01-10 15:45:34 +0100
commitc8925b971149706b74420d3684de0908b2d5aeb5 (patch)
treef4fb4809b1a0d276e010b0883430ab53dd381ad2 /site.go
parent5235eeb1e002401390fa04600848afe0ecd910e5 (diff)
Created module, link assets instead of img folderHEADmaster
Diffstat (limited to 'site.go')
-rw-r--r--site.go4
1 files changed, 2 insertions, 2 deletions
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)
}