diff --git a/ingestion/internal/pipeline/pipeline.go b/ingestion/internal/pipeline/pipeline.go index 1e6c924..1163463 100644 --- a/ingestion/internal/pipeline/pipeline.go +++ b/ingestion/internal/pipeline/pipeline.go @@ -58,7 +58,8 @@ func Run(ctx context.Context, cfg Config, brainDir, content, source string, dryR } resolved := Resolve(allPages, inventory) - merged := mergeAll(resolved) + withRefs := injectSourceRefs(resolved, inventory, brainDir) + merged := mergeAll(withRefs) date := time.Now().UTC().Format("2006-01-02") var written []string