Skip to content

Inconsistent asset URL scheme — bare paths vs. Liquid filter in head.html / head_print.html #787

@Parth-Garg2629

Description

@Parth-Garg2629

Page URL

https://precice.org

What is wrong?

Local asset references in _includes/head.html and _includes/head_print.html use two inconsistent URL schemes:

Affected lines in _includes/head.html:

Lines 43, 45, 46 — images/ favicon and icons
Lines 57–61, 63, 66 — all local CSS files
Line 80 —
js/jquery.navgoco.min.js

Affected lines in _includes/head_print.html:

Lines 8, 10, 11 — images/ favicon and icons
Lines 14–33, 45 — local CSS files
Lines 37, 39, 48, 50 — local JS files

Liquid filter (correct):

<link rel="stylesheet" href="{{ "css/syntax.css" }}">
<script src="{{ "js/toc.js" }}"></script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    GSoCContributed in the context of the Google Summer of CodetechnicalTechnical issues on the website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions