我的 jekyll 网站在本地主机上按预期呈现,但在通过 github 页面访问时呈现原始内容。
我拥有一切,更改基本 url 和 url,重建并检查目录结构,但似乎没有任何效果。谁能指出这方面的任何问题
https://github.com/thor56/thor56.github.io
我厌倦了改变基本 url 和 url,在包括 gh-pages 在内的不同分支上托管
我可以看到在浏览器控制台中加载 bootstrap 和 jquery 脚本时出现一些问题
"GET https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.%20%20%20%20%20%20%20%20js 网: :ERR_ABORTED 404"
从 github 页面加载时,源代码是
--- layout: default title: HTML Overview custom_css: htmloverview
--- <button id="openbtn" class="openbtn" onclick="openNav()">☰</button>
<div class="container mt-2">
<h1 class="text-center">Learn HTML</h1> main content here -->
<main>
<div class="card-deck">
<div class="card">
我可以看到默认布局没有渲染