GitHub pages: 404 on / but /index.html works fine
my situation is the following:
- I have deployed a jekyll site to github using the
docsfolder on the
- It has a markdown index file
- username.github.io/repo/index.html works
- username.github.io/repo/ returns a 404
The site works well locally using
jekyll serve (no 404).
I'd expect GitHub to return the content of index.html when receiving a request for a directory.
Could it be a problem with markdown?
See also questions close to this topic
DocFX - Full-text search in a language different from English
I'm writing a technical documentation with DocFX (https://dotnet.github.io/docfx/) an open-source project which transforms a collection of markdown files and code in a website and pdf.
The full-text search is implemented using Lunr (https://lunrjs.com/), but on DocFX I cannot understand how to set it up to work in Italian.
If I export the default template I can see that in the root there is a
search-stopwords.json, a file containing all the "not valuable words" that Lunr has to ignore. It's in English, I would like to override it defining one in Italian (https://github.com/MihaiValentin/lunr-languages) inside my custom template but apparently it's ignored. Overriding the
search-worker.jsI cannot solve.
The result is that at compile time Lunr makes a index file -
index.json- inside the root of the website, but it's huge because a half of the keywords indexed are "Italian stopwords", and the search is too slow.
Is there a way to solve or DocFX is just thought to work in English?
layout and other thing
I want to write a report in Markdown under Rstudio, I have already written several documents in Latex, from what I understood you can write latex commands under Markdown. I am on the first page where there is the title, name, ect.
I would like to know how:
- put an image above the title.
- make two columns one for the author and the other for the referents.
put a subtitle.
title: "titre" author: "nom" date: "
r format(Sys.time(), '%d %B, %Y')" output: pdf_document: latex_engine: pdflatex #html_document: #latex_engine: pdflatex fontsize: 14pt documentclass: report
Show React code in Github Markdown
I'm trying to create a React tutorial on Github, but I'm having issues with getting the Github formatting to line up with what I want to display. I would like to display this code:
But on Github, it is appearing like this:
can I have regression tests in jekyll?
Some of the pleasure of writing in markdown is the ability to spread links all over the place (I wish [[link]] worked though). Odds are that I've made a typo or just plain forgot to actually fill in some of the links.
Is there a way to easily write a regression test inside jekyll that will follow all the (internal) links and tell me if I've missed something?
Hosting Jekyll website with Amazon S3 + Cloudfront with private registrar (namecheap), issue with blog posts not showing up on blog page
Sorry for the wordy title.
Basically I created a jekyll website using Jekyll Now theme, it worked perfectly as as static site, here is the github version: fitnessregiment.github.io which is how I want the site to look. If you go to Blog you can see 1 blog post /essential-softwares-for-windows/.
Now the issue is that once I enabled cloudfront in order to enable HTTPS on my main domain: alexis-drakopoulos.com a few things went wrong, I managed to fix some but one of the main ones I cannot fix is the blog posts do not show up on the blog page. They do however exist as seen at https://alexis-drakopoulos.com/essential-softwares-for-windows/
So to explain how the site works: Github repo: github.com/FitnessRegiment/fitnessregiment.github.io/
Then gets managed through forestry.io CMS which uploads straight to amazon S3.
Amazon S3 bucket endpoint: alexis-drakopoulos.com.s3-website.eu-west-2.amazonaws.com
Cloudfront URL: d2cmpfzgichbat.cloudfront.net (which as you can see does not show blog posts).
So I cannot figure out what could be going wrong, cloudfront not understanding the structure? I'm not sure.
Any help would be greatly appreciated.
Github pages not loading css on subfolders
Any idea why github pages stoped loading css and images in subfolders, it works fine on the root of the site.
When i checked the source code of the page, i see this
In my config file I have a line
baseurl : /
(jekyll) css won't render on github pages
I want to use this theme on github pages, but css won't render (and also links in the menu are not working) when I open link https://urbanzrim.github.io I've read that only few themes are supported by github pages. Is this true?
If not, can someone help me modify this theme to work? This is the repository of the theme: https://github.com/urbanzrim/airspace-jekyll. I know this was already a topic few times here, but I really don't understand what's going on.
Can docpad-plugin-ghpages be hosted on GitHub Pages?
I am Thinking of moving my Jekyll site to Docpad and was reading through documentation but was unclear on whether I could use docpad-plugin-ghpages with project pages for organistions where GitHub pages hosts at orgname.github.io/projectname
For example my current website (on GitHub at https://github.com/jesusdiedforme/jesusdiedfor.me) is hosted at jesusdiedforme.github.io/jesusdiedfor.me (then CNAMEd to my domain)
Any help would be appreciated thanks