Skip to content

error when clicked on markdown generated link  #121

@xmlking

Description

@xmlking

🐞 Bug report

Description

I have a link (/home/blog) in my markdown blog-post to blog-post-lust-view as shown below
When I click the link, <a href="/home/blog">site-map</a> I am getting following error

libs-home-src-lib-home-module-es2015.js:902 problem during parsing static scully content TypeError: Cannot read property 'split' of undefined

Markdown blog

---
title: blog 1
description: This is the first demo blog in this sample.
---

# blog 1

## its a wild world after all

Related information [blog-2](/home/blog/blog-2)

[site-map](/home/blog)

🔬 Minimal Reproduction

image

💻Your Environment

Angular Version:





Scully Version:





🔥 Exception or Error

I think the error is caused at


https://github.com/scullyio/scully/blob/master/projects/scullyio/ng-lib/src/lib/scully-content/scully-content.component.ts#L75

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions