目前我的网站YourDataTalking.com指向制作它的教程,但我需要它指向我在Github中分叉和编辑的repo。我从https://github.com/jarrekk/Jalpc获取数据的repo是一个Jekyll教程,我发现node.js在我的“涉及的东西”堆栈中
datatalking/yourdatatalking.github.io
所以是的...我的电线在某个地方交叉,我大约4英寸,第二次搜索所有文件,不知道链接在哪里坏。
教程似乎使这很简单,但我不知道我的链接在哪里。
# Welcome to Jekyll!
# Website settings
title: Jalpc
description: Jack's blog,use Jekyll and github pages.
keywords: Jack,Jalpc,blog,Jekyll,github,gh-pages
baseurl: /Jalpc # if you have suburl as homepage like '/homepage', please change it to '/homepage' and your repo's name should be 'homepage'
url: http://jarrekk.github.io/Jalpc # url should be changed to 'http://www.jack003.com/homepage' as before
# url: http://127.0.0.1:4000
img_path: /Jalpc/static/assets/img/blog # url should be changed to '/homepage/static/assets/img/blog' as before
# author -- index page "about me" section
author: # change following line to your infomation.
name: GitHub # Be used at blog posts' author.
first_name: Hub # Be used at index page about me section.
last_name: Git # Be used at index page about me section.
cv: http://cv.jack003.com # A online CV can be printed as PDF, leave blank if you don't have now
email: me@jack003.com # Leave blank if you don't have now
facebook_username: jiakunnj # Leave blank if you don't have now
github_username: jarrekk # Leave blank if you don't have now
avatar: /static/assets/img/landing/avatar.jpg # upload your avatar at directory and edit it.
skill_icon1:
- name: icon-apache
- name: fa-linux
skill_icon2:
- name: fa-linux
- name: icon-apache
desc: Introduce myself will be here.
# comment
disqus: # if you wanna comment feature, go to https://disqus.com/ to get your configuration; if not, comment following two lines.
name: jalpc
public_key: tj2MPaNlHMONwTH5bGDNSXyaBpW7q282MeUzh5CwcjJerNhK8Kxk3aWo7IckzTX7
# analytics
## google analytics
ga: # if you wanna this feature, go to https://www.google.com/analytics/ to get your configuration; if not, comment following line.
# id:
## growingIO
gio: # if you wanna this feature, go to https://www.growingio.com/ to get your configuration; if not, comment following line.
# id:
## donation
donation: on # type 'on'/'off' to choice display donation button at post page or not
# Build settings
encoding: utf-8
# other settings
highlighter: rouge
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge
答案 0 :(得分:1)
看起来像这一行:
url: http://jarrekk.github.io/Jalpc
是要打开的页面 - 您是否尝试将其更改为您要打开的页面,您自己的网址
url: http://datatalking/yourdatatalking.github.io
或者您的正确网址是什么。
可能是这样的: {/ 1}}一旦你在github上设置了你的页面?
进一步研究
并且,根据Github Pages上的GitHub页面文档 - 您的新存储库必须在GitHub上拥有您帐户的确切用户名,因此如果您的GitHub帐户名称为url: http://yourdatatalking.github.io/
,则应为datatalking.github.io
{1}}。