Jekyll github-pages网站除本地外不显示CSS格式

时间:2017-01-11 08:36:50

标签: jekyll github-pages

有很多类似于我的问题,但大多数问题都是因为没有正确使用baseurl。然而,我的website甚至没有使用baseurl。它使用根Github页面。我基本上将我的网站从luminousrubyist移植的空域主题分开,其website显示正确,所以在某处我做了一个更改,阻止它正确显示。因此,如果其他人能够弄清楚什么是错的,我将不胜感激;我一直想弄清楚几个小时。

我的Github page

我的_config.yml文件:

    title: "My Portfolio"
subtitle: "My portfolio, detailing my experience"
# Base URL of site. It should always start with a slash,
# and never end with a slash. Set it to a blank value if hosting at the
# root of your server.
# baseurl: "/" # the subpath of your site
url: "http://austinstover.github.io" # the base hostname & protocol for your site
cover: "/assets/cover.png"
logo: "/assets/logo.png"

# Build settings
markdown: kramdown

# Google analytics
ga_tracking_id: "UA-90009514-1"

# Category descriptions (for archive pages)
descriptions:
  - cat: jekyll
    desc: "Posts describing Jekyll setup techniques."

  - cat: dummy
    desc: "Just some placeholder posts, lorem ipsum and the rest."

exclude:
  - "/vendor/"
  - "Gemfile"
  - "Gemfile.lock"
  - "README.md"
  - "LICENSE.md"
  - "*.gemspec"

keep_files:
  - "CNAME"
  - ".git"
  - ".gitignore"

1 个答案:

答案 0 :(得分:1)

尝试在_config.yml中设置 baseurl: "" #if not used.

page.html

btw,您的index.html使用_layouts布局(来自default.html),使用head.html布局,其中包含_includes(来自{{ site.baseurl }})。这一次致电MATCH (p1: person)-[:LIKED]->(v)<-[:LIKED]-(p2: person) return p1, p2, v ,但未定义。