Skip to content
This repository has been 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

Open
zacky1972 opened this issue Jun 18, 2023 · 0 comments
Open

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

zacky1972 opened this issue Jun 18, 2023 · 0 comments

Comments

@zacky1972
Copy link

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>
@zacky1972 zacky1972 changed the title Fail to load css/theme.css on GitHub Pages Fail to load css/theme.css on GitHub Pages of a repository Jun 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant