Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Fail to load css/theme.css on GitHub Pages of a repository #195

@zacky1972

Description

@zacky1972

I deployed my page on my repository that is generated by Still, but failed to load css/theme.css in case of GitHub Pages, though succeeded this in case of localhost.

Generated header is here:

<!DOCTYPE html>
<html>
<head>
    <title>TITLE</title>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <link rel="stylesheet" media=all href="/css/theme-mLOByLVRdNnRCEb1X4cC3w==.css"/>
</head>

I tested the following header works well:

<!DOCTYPE html>
<html>
<head>
    <title>TITLE</title>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <link rel="stylesheet" media=all href="https://USER.github.io/REPOSITORY/css/theme-mLOByLVRdNnRCEb1X4cC3w==.css"/>
</head>

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