【问题标题】:Github.pages tutorial, links crossedGithub.pages 教程,链接交叉
【发布时间】:2017-07-15 20:13:05
【问题描述】:

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

【问题讨论】:

  • datatalking/yourdatatalking.github.io 为空?

标签: python github jekyll


【解决方案1】:

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

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

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

或者无论你的正确 URL 是什么。

可能是这样的: url: http://yourdatatalking.github.io/ 在 github 上正确设置页面后?

进一步研究

并且,根据Github Pages 上的 GitHub 页面文档 - 您的新存储库必须具有您在 GitHub 上的帐户的确切用户名,所以它应该是 datatalking.github.io,如果您的 GitHub 帐户名称是 datatalking

【讨论】:

  • 谢谢,有没有办法在 github 文件夹中搜索 url 字符串?
  • GitHub网页顶部有搜索框?也许这会奏效?
  • 这有点用,我也在寻找一种方法来在沙箱中搜索我的 .py 文件以查找该 URL 字符串,我将在下周有时间时将其添加到我的列表中。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-09-07
  • 2012-09-17
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多