Comments (7)
I think it's because you have baseurl: "/whiteglass"
in your _config.yml
. If you want to use armsp.github.io
as home of your blog, set baseurl: ""
. You may want to use armsp.github.io/blog
as home, then set baseurl: "/blog"
.
from whiteglass.
I am not using it as a personal site, just a project page. So by default GitHub gives the URL as https://armsp.github.io/<repository-name>
In this case should I keep baseurl: "/<repository-name>"
or baseurl: ""
EDIT
I tried with baseurl: ""
, the css didn't work.
If I do baseurl: "/<repository-name>"
then the css path becomes <link rel="stylesheet" href="/<repository-name>/assets/main.css">
which is again incorrect since I am pushing the _site
folder, so there is no folder called repository-name
.
If you want to have a look then you can look here - https://github.com/armsp/testing-whiteglass
I am just testing it out, so its not complete neither fully edited, but its live so that I can show you that css fails - https://armsp.github.io/testing-whiteglass/
from whiteglass.
Please try changing _config.yml
as the following:
baseurl: "/testing-whiteglass"
url: "https://armsp.github.io"
It's correct even if you don't have the folder called repository-name
, as it's URL. <url><baseurl>
will point the URL of the repository's GitHub Pages (in this case, https://armsp.github.io/testing-whiteglass
). index.html
will have <url><baseurl>/assets/main.css
, and you have assets/main.css
under your repository, it will load the CSS correctly.
from whiteglass.
It works !! I can't thank you enough.
Just one last question....should this have its own domain, then url: "https://armsp.github.io"
will need to be changed to url: "https://abc.com"
with baseurl: ""
, right?
from whiteglass.
Yes, if you want to give abc.com
as home, that's right.
from whiteglass.
Great, closing this now. Thanks a lot once again!!
from whiteglass.
No problem! Always feel free to open a new issue if you have problems.
from whiteglass.
Related Issues (20)
- Visited link colour is very similar to the normal text colour HOT 5
- category and tag don't show up HOT 24
- External URL isn't linked for posts HOT 8
- New folders and files disappear HOT 2
- Github can't find file to @import "whiteglass"; HOT 2
- Accessibility errors found in your template HOT 2
- How to add images for blog HOT 5
- https://fonts.gstatic.com 404's HOT 1
- Github can't find file to @import "whiteglass"; HOT 2
- Support for prefers-color-scheme HOT 7
- Is there support for favicons? HOT 2
- Seeing localhost:4000 in some link tags in header HOT 8
- How to reverse the order of posts in the home page? HOT 6
- Remove use of JEKYLL_PAT HOT 2
- New blog - all posts are under "Archives" HOT 3
- Idea: can you make this a template repository incase somebody wants to use it? HOT 5
- Question: why change link path? HOT 1
- Vertical spacing gone between blocks HOT 3
- Modify my i18n.yml HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whiteglass.