Git Product home page Git Product logo

Comments (3)

piazzai avatar piazzai commented on August 25, 2024 1

Hello! Thank you for your interest in the theme. I'm glad to help.

If my reconstruction of what you have been doing is correct, the repository you are trying to publish is tokunagamuy/hacked-jekyll. GitHub pages will attempt to publish this as a project website and not as a personal website. For personal websites, the repository name must necessarily be username.github.io.

This theme is intended for personal websites. The misbehavior you are experiencing is due to the fact that you are trying to publish it as a project website. (In particular, the problem occurs because CSS stylesheets are not found at the location where they are expected.) To solve the problem, just rename the repository to tokunagamuy.github.io. Everything should then fix itself.

If there is any particular reason why you want to use the theme for a project website, then you have to open the file _includes/head.html and edit lines 15-17:

<link rel="stylesheet" href="/assets/css/normalize.min.css" />
<link rel="stylesheet" href="/assets/css/open-color.min.css" />
<link rel="stylesheet" href="/assets/css/styles.min.css" />

I think removing the starting / from the href field might be sufficient, but I am not sure. Let me know, in case, and I can look at the issue more carefully.

EDIT: If you edit the lines above as follows, Jekyll should be able to find the stylesheets.

<link rel="stylesheet" href="{{ '/assets/css/normalize.min.css' | relative_url }}" />
<link rel="stylesheet" href="{{ '/assets/css/open-color.min.css' | relative_url }}" />
<link rel="stylesheet" href="{{ '/assets/css/styles.min.css' | relative_url }}" />

I didn't test this, but I think it will work. Let me know, in case.

from hacked-jekyll.

tokunagamuy avatar tokunagamuy commented on August 25, 2024

Grazie mille!! I could solve all of my problems thanks to your insights.
By the way, I tried both two of codes that you suggested, but both successfully worked.
Best regards 💯

from hacked-jekyll.

piazzai avatar piazzai commented on August 25, 2024

Happy it worked! The relative_url fix should probably be implemented in the theme. I'll keep it in mind for the next release.

from hacked-jekyll.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.