Skip to content

Local preview with the actual situation is different #87

Closed

Description

@yc1011

I use this template, the local operation is correct, but the style is lost on the github pages.
and here is my page ,http://lostonion.github.io/

all of my files have push to master branch,The official tutorial show me . must create a gh-page branch.

Is this necessary?

Activity

  1. BruceZhaoR commented on Jun 12, 2016

    @BruceZhaoR
    Contributor

    @LostOnion

    1. Your repository is lostonion.github.io,so you don't need to ceate a gh-page branch.
    2. You need to set something below in your _config.yml file
    url: http://lostonion.github.io
    baseurl: "" 
    

    I recommend you read the README carefully. The jekyll official website may be helpful.

    Also, if you use Chrome ,the F12 may help you to find the problem. Good luck! 😊

  2. yc1011 commented on Jun 12, 2016

    @yc1011
    Author

    I made a mistake , F12 help me . I thought I must set a not empty string to baseurl
    how about change the tip form

    for example, '/blog' if your blog hosted on 'host/blog'

    to

    for example, '/blog' if your blog hosted on 'host/blog' IF you use this Boilerplate for your page without a secondary domain name ,make it empty .

    Just for newbies without any statice pages 'exp . like me

  3. added a commit that references this issue on Jan 25, 2025
  4. added a commit that references this issue on Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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