GitHub Pages
Host your website directly from your GitHub repository
À propos de GitHub Pages
GitHub Pages allows you to create and publish websites directly from your GitHub repository. Simply edit, push, and your changes go live instantly. Perfect for personal sites, project documentation, and portfolios.
FAQ
To set up a GitHub Pages site, create a new public repository named username.github.io, where username is your GitHub username or organization name. Then clone the repository, add an index.html file, and push your changes to the main branch. Your site will be live at https://username.github.io.
Yes, you can use a custom domain by creating a file named CNAME in your repository and including your URL in it. For more details, refer to the GitHub Pages documentation on custom URLs.
GitHub Pages is available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's plans.
Jekyll is a static site generator with built-in support for GitHub Pages. You can configure Jekyll settings by editing your _config.yml file. Jekyll supports Markdown and Liquid templating. For more details, see the Jekyll documentation.
Yes, GitHub Pages supports certain plugins by default, such as jekyll-coffeescript and jekyll-gist. You can enable additional plugins by adding them to the plugins setting in your _config.yml file. However, unsupported plugins will not work on GitHub Pages.
You can test your site locally by building it with Jekyll before pushing changes to GitHub. This allows you to preview your changes before they go live. For more information, see Testing your GitHub Pages site locally with Jekyll.
You can add a theme to your GitHub Pages site by editing your _config.yml file or by using the theme chooser in the GitHub Pages section of your repository settings. For more details, see Adding a theme to your GitHub Pages site using Jekyll.
A user/organization site is hosted at https://username.github.io, where username is your GitHub username or organization name. A project site is hosted at https://username.github.io/repository, where repository is the name of your project repository. You get one user/organization site per GitHub account and organization, and unlimited project sites.
Alternatives à considérer
Voir toutes les alternativesBadges
Faites la promotion de GitHub Pages et donnez-lui plus de visibilité en ajoutant ces badges à votre site web, votre documentation ou votre fiche produit. Chaque badge renvoie vers la page de GitHub Pages sur Webfolio.
<a href="https://www.webfolio.to/tools/github-pages?utm_source=badge&utm_campaign=badge" target="_blank" rel="noopener noreferrer"><img src="https://www.webfolio.to/badges/featured_color.svg" alt="Mis en avant sur Webfolio" style="max-width: 150px" /></a>
Catégories
Revendiquer cet outil
Vous êtes le fondateur ? Revendiquez votre profil pour mettre à jour les détails et suivre les vues.