Skip to content

404 error on /public/js/script.js #250

Open
@MaelREBOUX

Description

@MaelREBOUX

Hello.

Thanks for your beautiful theme.

I tried to use it yesterday on a repository but I met a problem on the /public/js/script.js url
On line 29 of https://github.com/poole/lanyon/blob/master/_layouts/default.html#L29

You should use this :

<script src="{{ '/public/js/script.js' | absolute_url }}"></script>

instead of

<script src='{{ site.baseurl }}/public/js/script.js'></script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions