{"editorial_visual":"https://favicon.now/static/images/editorial/guides/github-pages-favicon.webp","implementation_artifact":{"code":"<link rel=\"icon\" href=\"{{ '/assets/icons/favicon.svg' | relative_url }}\" type=\"image/svg+xml\">\n<link rel=\"apple-touch-icon\" href=\"{{ '/assets/icons/apple-touch-icon.png' | relative_url }}\">\n<link rel=\"manifest\" href=\"{{ '/assets/icons/site.webmanifest' | relative_url }}\">","heading":"GitHub Pages project-safe paths","intro":"Liquid's relative_url filter preserves the repository prefix on project Pages and also adapts to a custom domain. Keep the icon directory inside the selected Pages source.","language":"liquid","tree":"assets/icons/\n\u251c\u2500\u2500 favicon.svg\n\u251c\u2500\u2500 favicon.ico\n\u251c\u2500\u2500 apple-touch-icon.png\n\u2514\u2500\u2500 site.webmanifest\n_includes/head.html\n_config.yml"},"published":"2026-07-31","section_headings":["Project paths and constraints","Declare favicon metadata once","Build, deploy, and verify","Verify both Pages URL identities"],"sources":[{"label":"GitHub Pages getting started","url":"https://docs.github.com/en/pages/getting-started-with-github-pages"},{"label":"GitHub Pages custom domains","url":"https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site"}],"title":"GitHub Pages Favicons: Base Paths and Deployment","updated":"2026-07-31","url":"https://favicon.now/guides/github-pages-favicon"}
