GitHub页面:目录上的自定义CNAME

时间:2016-11-25 13:43:04

标签: subdomain github-pages cname

是否可以将CNAME设置为github-pages网站的目录?例如:

没有CNAME username.github.io/blog/index.html

使用CNAME blog.mydomain.com/index.html

我在帮助页面上找不到任何内容,所以请帮助我。

1 个答案:

答案 0 :(得分:0)

您无法在PImage img; // Declare variable "a" of type PImage import processing.sound.*; SoundFile file; void setup() { size(1475, 995); // The image file must be in the data folder of the current sketch // to load successfully img = loadImage("PaceTaker.jpg"); // Load the image into the program } void draw() { // Displays the image at its actual size at point (0,0) image(img, 0, 0); } void mousePressed() { if (mouseX>105 && mouseX<337 && mouseY>696 && mouseY<714) { // Load a soundfile from the /data folder of the sketch and play it back file = new SoundFile(this, "Heartbeatreg.mp3"); file.play(); stroke(0); } else if (mouseX>410 && mouseX<584 && mouseY>696 && mouseY<714) { println("yikes2"); stroke(0); } else if (mouseX>659 && mouseX<837 && mouseY>696 && mouseY<714) { println("yikes3"); stroke(0); } else if (mouseX>928 && mouseX<1065 && mouseY>696 && mouseY<714) { println("yikes4"); stroke(0); } else if (mouseX>1123 && mouseX<1397 && mouseY>696 && mouseY<714) { println("yikes5"); stroke(0); } else { println("hello"); } } 存储库的博客文件夹中设置CNAME

但您可以在username.github.io存储库的根目录设置CNAME(blog.mydomain.com)。