I am new to web-development. I am trying to just start off by deploying my 1 page website just to sort of see how it works.
I followed all of the steps that I saw on a tutorial and I just get a 404. (file not found) https://juteland.github.io
Here is my repo. https://github.com/Juteland/juteland.github.io
If someone is good at this and can tell me what I am doing wrong that would be great!
Thanks!
Try this:
https://juteland.github.io/Documents/WebDev%20/IsomodularWebsite/
You have page on above link. You don't have index.html page on that directory. Hence it is showing 404 not found.
There are two directories inside juteland.github.io as per your github link:
Desktop/IsomodularWebsite
Documents/WebDev /IsomodularWebsite
As I am able to see both the directories contain the same number of files and both are duplicates.
Try the following steps:
You delete one of them. (Let's say you delete Documents/WebDev /IsomodularWebsite)
Move all files of Desktop/IsomodularWebsite inside juteland.github.io directly and then delete Desktop/IsomodularWebsite also.
It is really 404, because you don't have index.html or index.htm or something that is specified as the entry point as a webpage in your repository root.
Your webpage is there, https://juteland.github.io/Documents/WebDev%20/IsomodularWebsite, with "strange" long URL.
Why do you put your web page inside such a long and meaningless folders?
Related
I am making a blog with Github. I forked from someone else's and only edited the words. So I don't really have basic knowledge of web programming.
The problem is the path doesn't go to the right page when I attach the picture. It kept shows an error.
I figured out why the error shows up, but I can't find how to solve this problem.
Path (which should be worked):
https://github.com/babydoyaji/babydoyaji.github.io/blob/master/assets/img/TIL210105/0105_1.png
What I put:
![testing](../assets/img/TIL210105/0105_1.png)
I also put this. But this doesn't work too.
![testing](.../assets/img/TIL210105/0105_1.png)
This page shows up. (/blog path should not exist):
https://github.com/babydoyaji/babydoyaji.github.io/blob/master/blog/assets/img/TIL210105/0105_1.png
The result :
result
I can't find how to take off that /blog from the path.
The one solution I am thinking is moving the img folder inside the blog folder, but I don't want to put folders like that.
If anyone knows how to remove the /blog from the path with markdown code, please help me.
Thank you.
I copy pasted pages and datas from my local dokuwiki(windows) to an ftp dokuwiki (linux), the pages exist but cant be accessed, the
[[:informatique:angouleme:inventaire_licences|Inventaire Licences]]
the link state that the page exist but all i get is 'this page doesn't exist yet' i see nothing wierd with &do=debug i got no error message.
Note that it workds to copy paste data repo or pages repo. it works even if the sitmap isn't updated.
the
$html_output = ob_get_clean();
trigger_event('TPL_CONTENT_DISPLAY', $html_output, 'ptln');
is returning me the generic answer when he cant find the file i want him to show
i wish to know what is going wrong, thanks for the help.
The pages might have different permission which the www-data can't access.
Did you check your server error logs? It will give you more information about the exact problem.
Also, try the searchIndex plugin
I feel pretty stupid about it, when passing from a windows server to a Unix server i forget the caps handling are different and so i bad references to my namespaces where my files had caps and dokuwiki biuld all the links without
I have an organization github page www.spoonmangames.cl and I created a project site called Unity3DTools so I can access this with www.spoonmangames.cl/Unity3DTools/
So far so good, but I want my project site to use the layouts I've created in my organization page. I tried to just add layout: default in the front matter section of index.html in the project site but it just show a blank page with the title (you can actually check in the url above).
I do not want to copy stuff into the project site, is there any other solution?
By the way the project site has only the readme.md and index.html, maybe I should add a config.yml with some special configuration?
Thanks in advance.
If the two things we're talking about is this main site and this subdirectory, then maybe jekyll doesn't really knows about your subdirectory so it doesn't try to serve it.
Have you tried to upload a unity3dtools.md (or ~.html) to main site's root directory and then permalink it to /Unity3DTools ?
The above could be one solution, but if you don't want to copy anything to the project site, maybe you should consider defining a new collection in the _config named something like "projects" and then each project you create, should contains a property "directory" which in this case points to the /Unity3DTools directory.
Try the following (be careful, try this first on your local development first)
collections:
projects:
output: true
Then make a _projects directory and make a Unity3DTools.md file with some of the followings:
---
name: Unity3DTools
permalink: /Unity3DTools
projectDir: Unity3DTools
[some extra stuff you want]
---
I'm pretty sure this is not enough, but maybe it helps your further research to accomplish. Share if you're moved ahead some steps!
Folks, help is needed and MUCH appreciated with a fuzzy behaviour of Jekyll site deployed to Github.
The site works perfectly when putting it up and using it in the local machine (through 'jekyll serve'). The surprise came up upon deployment to Github, the HTML 'posts.html' page created to show the post list does not get rendered at all. The rest of the site is up and running fine, but once the link is clicked to reach the mentioned page the browser is trying to DOWNLOAD the file, instead of rendering.
If you need to have a peek at the code:
https://github.com/zekdeluca/zekdeluca.github.io
And the site can be seen at:
http://zekdeluca.github.io/
Thanks in advance!
It has to do with the permalink and how the extension-less urls are working. If you add a trailing slash to your url it will work. If you are trying to do it without the trailing slash, I was under the impression that what you did would work on GH.
Something like permalink: /my-page/ will work and it creates a folder called my-page with an index.html file in it. The url will show as /my-page/ without the index.html - pretty except the trailing slash.
If you do permalink: /my-page it should be making a file my-page.html, but in your case it seemed to have made just my-page with no extension, which is then being served as a file by github and it doesn't seem to know what it is so it is downloading it instead of serving it.
There seems to be a lot of conflicting info on this, I think the behavior has changed recently, and maybe the version GH is using is able to output a file with no extension? I did not think that was the case.
more reading:
http://overengineer.net/pretty-extensionless-urls-in-github-pages-using-jekyll/
Jekyll extension-less permalinks with markdown
URIs to public folders that were viewable last week via webViewLink now return HTTP 404 - Not Found errors.
The folders are still public, contain index.html and are listed in this test script:
https://googledrive.com/host/0B0YvUuHHn3Mna3Rzb19tLTYyOXc/
Nothing has changed in either the web folders or the webViewLink. Has something changed on the server?
This is an intentional change. As mentioned in the comments, "Anyone with the link" will not work, and should be "Public on the web". Google will update the documentation.
This was unfortunately changed without warning to the community, and this is inexcusable. Really sorry if you were bitten by this.
Ok. I got it.
So if you still will not be able to see your html public, open the index file and
File -> Allow viewers to download.
Yes, and do make the folder and the files shared as "Public on the web".