Github.pages页教程,交叉链接

2024-09-30 22:24:54 发布

您现在位置:Python中文网/ 问答频道 /正文

当前我的网站YourDataTalking.com指向制作它的教程,但我需要它指向我在Github中分叉和编辑的repo。我从中提取数据的repo是https://github.com/jarrekk/Jalpc,这是我发现的Jekyll教程节点.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

Tags: tonamehttpsgithubcomyouyourif
1条回答
网友
1楼 · 发布于 2024-09-30 22:24:54

它看起来像这样: url: http://jarrekk.github.io/Jalpc

是将要打开的页面-是否尝试将其更改为要打开的页面,即您自己的URL

url: http://datatalking/yourdatatalking.github.io

或者不管你的正确网址是什么。你知道吗

可能是这样的: url: http://yourdatatalking.github.io/一旦在github上对页面进行了属性设置?你知道吗

再进一步研究一下

而且,根据位于Github Pages的GitHub页面文档,您的新存储库必须具有您在GitHub上的帐户的确切用户名,因此如果您的GitHub帐户名是datatalking,那么它应该是datatalking.github.io。你知道吗

相关问题 更多 >