diff --git a/pkg/concepts/rendering.go b/pkg/concepts/rendering.go index cde9b55..6ae5508 100644 --- a/pkg/concepts/rendering.go +++ b/pkg/concepts/rendering.go @@ -232,17 +232,20 @@ func renderConcept(id string, avs *RenderValues, ttype TargetType, opts RenderOp return nil, errors.InvalidConceptIdentifierError } - r, err := repositories.GetRepository(id) + ci := ConceptIdentifier(id) + r, err := repositories.GetRepository(ci.Repo()) if err != nil { return nil, err } // Get the repo path - path, err = r.AbsolutePath() + repopath, err := r.AbsolutePath() if err != nil { return nil, err } + path = filepath.Join(repopath, ci.Concept()) + // Get the origin of the the concept origin = &ConceptOrigin{ Repository: r.URL,