So, Github pages doesn't support HTML5 mode because it only serves static pages. So, trying without html5 mode.