Questions tagged [github-pages]

GitHub pages are static web pages hosted on GitHub.

GitHub Pages reside inside a repository on . They can be built manually and pushed as the final HTML output, or they can be pushed as a page, which will then be built directly on GitHub.

On August 18, 2016, GitHub made it unnecessary to have a gh-pages branch - now you can select any branch and directory as the source for the documentation.

GitHub differentiates between three types of pages:

  • User pages (Portfolio websites)
  • Organization pages (Websites specific to an Organisation)
  • Project pages (Websites specific to a Project)

Setting up User pages and Organization pages.

  • Create a Repository named username.github.io where 'username' your GitHub username or Organisation name.
  • Edit or create HTML pages and Push it to this newly created Repo.

Setting up Project pages

Lately a website generator was added to GitHub pages which allows you to build a page with just some clicks.

More Resources in GitHub Pages

4865 questions
1
vote
1 answer

gh-pages page is showing blank page

This is my gh-pages repo: https://github.com/Squinnb/acquco/tree/gh-pages main branch repo: https://github.com/Squinnb/acquco I'm using Vite, Yarn, and React(TypeScript) and I will post contents of the package.json file: { "name": "acquco", …
Squinnb
  • 37
  • 5
1
vote
2 answers

How do I enable Link Preview Images for a Jekyll Website?

I am looking for a way to display an image when the link is posted on Twitter, Discord, etc. There is a spot for the text but I am not aware of a place for an image. I am expecting an image to display like this: This is what I am getting: The…
Nazchanel
  • 23
  • 6
1
vote
1 answer

React Project not deploying on GitHub Pages

When I try and deploy my app to GitHub Pages, all I see is this page.: My actual project works on localhost, but for some reason I can't get it to display on GitHub Pages. To my package.json I've added "homepage":…
1
vote
1 answer

Astro.js deployment: Media files not rendering

I've recently tried to deploy my 1st portfolio on github pages which is being built with Astro.js. Everything looks as it should on dev mode, and the build doesn't start any errors, but when I access the page where my portfoli was deployed the…
1
vote
0 answers

A syntax error occurs in the github repository

An error occurs when using Grape-Academic-Theme. Error message during GitHub repository build process Liquid Exception: Liquid syntax error (line 17): Unknown tag 'nocite' in /_layouts/hub.html layout/hub.html markup: --- layout: page ---
1
vote
1 answer

How To Change Organization Account To Personal Account On Github

I accidentally changed my github account which was originally my personal to an organizational account, when I was going to log back in my github account was lost and had to create a new one, how do I return my organization to my personal…
1
vote
1 answer

Why do i have error when deploying static project in github pages

I have deployed my project on github pages but i had this page when i opened the link in gh-pages setting : This is my url : https://meriemu.github.io/map-mapbox-js/ And the Github repository : https://github.com/Meriemu/map-mapbox-js I didn't…
1
vote
0 answers

INQUIRE: Replit took over github page. How to remove Repl from site

So i was trying to bind a replit project to my Github page, and now its taken over! I deleted the CNAME and TXT files on the root (sneslover22.github.io) but now my main site (sneslover22.github.io/Mathews-Collection) doesn't work! I also unlinked…
Snessy
  • 11
  • 1
1
vote
0 answers

GitHub-pages displayed in raw text format with html tags

I just committed a GitHub-pages with h-t-t-p-s://username.github.io following the instruction. The file name is index.html and it is under main branch. The index.html was tested on w3schools.com html editor and was shown as html file correctly (no…
user938363
  • 9,990
  • 38
  • 137
  • 303
1
vote
0 answers

Asset folder 404 error on create-react-app

So basically I made an e-portfolio using create-react-app and when i used the github pages link (eyoo217.github.io/e-portfolio), the website loaded perfectly fine. However I got a new domain (elotmusk.com) and now the assets cant be loaded to the…
1
vote
0 answers

Restoring missing gems when running Jekyll in Docker

I'm trying to run my GitHub Page which is using Jekyll locally on my Windows machine (code of my page). The Jekyll config _config.yml references the following plugins: # all the other Jekyll settings plugins: - jekyll-seo-tag - jekyll-sitemap …
mu88
  • 4,156
  • 1
  • 23
  • 47
1
vote
0 answers

Nested Unless tags break Liquid/Jekyll

I've been working with generating some JSON data from liquid tags, it seems that excluding the last comma in this JSON data is not happening when nesting 'unless' tags. Please see answer below, this initial issue and question was not the…
Moxxi
  • 39
  • 7
1
vote
1 answer

Jekyll (for GitHub Pages): How to create a carousel of Divs?

I'm trying to create a carousel of
elements on my Jekyll site (which runs on GitHub Pages). So far, all examples I found discuss a carousel of images. Is there a way to create one for
s too?
shakedzy
  • 2,853
  • 5
  • 32
  • 62
1
vote
1 answer

Customizing header title font size for Just the Docs Jekyll theme

I'm helping develop a website for a GitPages workshop and I'm new to Just the Docs theme. How can you change the font size for a long title that appears in the header/home link (top left of the screenshot). For reference, here is the Github…
1
vote
1 answer

helaili/jekyll-action does not update the browser with gh-pages branch content

I built my personal site using Jekyll (repository). I created a plugin to retrieve information from my Medium account and populate my site's "Blog Posts" page, this is the plugin. This plugin creates a collection called medium_posts_json which I…
erap129
  • 910
  • 1
  • 8
  • 17
1 2 3
99
100