GoodManWEN.github.io
GoodManWEN.github.io copied to clipboard
I want to use this project as my blog
Why can't I run it directly by forking your project to my gitpage and if I run directly, it show the content of readme file?
To ensure that the program works as expected, you will need to do a few extra steps after forking.
- Configure the URL for the project in the settings of the github repository, so that others can access the blog through that URL.
- Go to
Actions
settings and turn on the workflow run permission manually. As a protection measure, the forked project will not trigger actions by default. It doesn't take much work, you just need to press the activate button in order to start.
After startup, the readme.md
in the root directory will not be displayed in the website. The reason you can see a readme file on the website is because there is another copy of readme.md
in the /blog
directory. The logic is that the website will show all the articles in the /blog
directory, following the corresponding tree structure.
If you have further questions, don't hesitate to let me know.
I run it successfully ,but also show the readme file.
and if I delete the readme.md in the root directory that will display the 404 page.
I have only revised the following.
The Github pages feature comes with a set of UI logic natively, which allows users to display pages without customizing their appearance, also this means that if you are trying to use html for customization then you will need to do additional setup.
I've visited your project and the reason your pages only shows the readme.md
under /root
directory is because you have not done pages's futher settings, this makes the pages interpreter not connect to the specified page style file, you need to modify it to achieving the expected outcome. Of course, the most recommended way is to fork this project directly, so that all the configuration is inherited by default and you don't need to do any additional configuration.
I made it. Thank you for your help.
I've visited your project and the reason your pages only shows the readme.md under /root directory is because you have not done pages's futher settings, this makes the pages interpreter not connect to the specified page style file,-----我也遇到了同样的问题,仅展示了根root的readme界面,这里提到的pages's futher settings 是指什么,我已经更改了[AutoUpdate.yml]文件中的仓库引用,指向了我自己fork后的仓库
问题已经解决了,我更改了page中 jekyll的路径,使用了docs路径,解决了该问题