Deleting a post from Jekyll - jekyll

I am trying to delete a post from Jekyll, I tried removing the markdown file from github and copying new .md file to the _posts folder and commit. But it is not updating on the blog and previous post still remains there.

As David Jacquel answered as a comment:
In your GitHub repository settings, check if you have a build error in the GitHub pages frame.
(posting here just to be easy to find an answer in a future.)

Related

Can't use Git Pages

TLDR: GitHub Pages isn't working.
I have a little knowledge on GitHub and tried multiple fixes to no avail. One repository is only showing readme file contents.
Please explain in lamest terms.
New to web development, I finally was able to complete my first site, but I'm unable to actually deploy the files for some reason; please forgive me, I literally have no idea what any of the git terminologies are.
I purchased a pro subscription in order to keep the repository private and the site public.
Every file is present in what seems to be the main root directory, but nothing is being actually presented.
I've created two different repositories in an effort to fix this, as I've seen different methods are available.
The first repository includes a README file because I was originally instructed to do so, however, all the site link does is present that README file's contents;
I also attempted to add a permalink fix within the file, but all it did was add that text to the other text presented.
The second repository in question literally greets me with nothing but a 404 error.
The solution I tried for the second repository was to have the repository name share my username as well since that seems to be where the site's link originates, but no present changes have occurred.
Finally, the waiting game solution hasn't beared any fruit yet either aside from updating the README file's contents.
All help is very much appreciated.
Check first:
Your GitHub repository name, which depends on the type of GitHub Pages you are creating
If you're creating a user or organization site, your repository must be named <user>.github.io or <organization>.github.io.
your GitHub Pages Publishing source
If you use the default publishing source for your GitHub Pages site, your site will publish automatically. You can also choose to publish your site from a different branch or folder.
You can add more pages to your site by creating more new files.
Each file will be available on your site in the same directory structure as your publishing source.
For example, if the publishing source for your project site is the gh-pages branch, and you create a new file called /about/contact-us.md on the gh-pages branch, the file will be available at https://<user>.github.io/<repository>/about/contact-us.html.
Make sure you have GitHub Pages enabled for every repository and that it's set to the branch you want to publish by checking your Pages settings at github.com/<user>/<repo>/settings/pages. If enabled, there should be a link on that page that takes you to the site.

Github page blog: html works ok but css and images are 404

I have my blog kray.me hosted on github pages for many years now.
There are others questions related to 404 errors related to Jekyll on SO but are related to case sensitiveness problems which is not the case here.
The site builds correctly locally.
However, on github.com, it seems that all the files located in my /public folder are not copied by Github page engine eg
https://github.com/Kraymer/kraymer.github.com/blob/master/public/img/back.jpg doesn’t result to http://kray.me/public/img/back.jpg
Any help would be greatly appreciated.
OK fixed I had a public repo named "public" that interfered with the "public" dir of the blog repo

Error while hosting a html file on github

although I uploaded html file in the repository, it shows only 'rural' what did I do wrong?enter image description here
.imgur.com/3KSMV.jpg
What you are seeing is perhaps the content of your README.md file.
You need to upload an “index.html” to the root of your repository.
You can also modify the content of the README.md file.
I had once a pretty similar issue so please try this:
Go to settings for your repository: You can find Settings tab in
your repo page.
Scroll down to GitHub Pages section on the settings page.
In the panel, you will have a Source info that states : 'Your GitHub
Pages site is currently being built from the gh-pages branch'.
However, in my cases, all code was in master branch. So I selected
the branch from dropdown as master and in merely a minute, it was
published successfully.
If it won't solve your issue or you already had this set to master branch - maybe try to commit again so it would refresh

Latest build not being found

I have had my project hooked on Read The Docs for awhile and I am trying to push all my Markdown it now and realizing after verifying the webhooks are active (I imported it by connecting accounts) and rebuilding it I still get the 404 page and I can not figure out after rereading the Getting Started guide 10 times what I am missing
Reference - http://tango-c-ndk-tutorial.readthedocs.io/en/latest/
So I found you just need to either rename or make a copy of your README.md to index.md as Read the Docs looks for index.md

Setting up a GitHub Pages project page. Page is up but images and main.css are not loading

Hello People of Stack Overflow,
First time setting up a project page on GitHub pages. I'm thinking I probably missed something very simple, but I have tried everything I could find, also hoping that even though this question has a high probability of being a bit idiotic that the formatting is pretty good.
The story so far...
Hosting a static site on GitHub pages. It's a project page based on a working repository. I created a gh-pages branch and pushed to this branch. That branch is now set to default and all the files are up on the repo I have looked at several questions on stack overflow that are very similar to the problem I am having but they don't seem to be quite the same.
The page is loading here
but neither the images or the CSS formatting is loading. The page was built with html, css and bootstrap.
Questions that are very like the problem:
This seems the closest: static resources not loading (rep < 10)
Maybe I need to address the root file somehow in the _config.yml? Like in this question: github pages not building (rep < 10)
Thinking the answer lies here: in the jekyll docs (rep < 10)
Avenues explored:
Created .nojykell file in the root folder, this seemed to be the best option as I don't actaully need jykell.
As another possible route, Created config.yml file
with keep_files: [img, app.js, main.css];
and then include: [img, app.js, main.css];
also added highlighter: rouge; in the 1st line, per a build error.
Jykell gave me an H10 error at one point and I installed kramdown, although that did not do anything, got the same error. This seems like an unnecessary step because I'm not using jekyll, just need a spot to serve the files already created in the interwebs.
Updated ruby
Removed ../ in front of files on the .html pages
Other things you might need to know:
File structure:
- root
- img
- .nojykell (empty)
- app.js
- index.html
- artist.html
- gallery.html
- main.css
Let me know if you have any suggestions and thanks. :)
Good to see you figured it out.
For future reference, a .nojykell wouldn't have solved the problem:
It is now possible to completely bypass Jekyll processing on GitHub Pages by creating a file named .nojekyll in the root of your pages repo and pushing it to GitHub. This should only be necessary if your site uses files or directories that start with underscores since Jekyll considers these to be special resources and does not copy them to the final site.
https://github.com/blog/572-bypassing-jekyll-on-github-pages