1
0
mirror of synced 2025-12-22 11:26:57 -05:00

Update all files to use {% data %} (#15253)

* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
This commit is contained in:
Jason Etcovitch
2020-09-29 16:01:04 -04:00
committed by GitHub
parent aa5a62d49d
commit caaee7a124
14816 changed files with 100317 additions and 100247 deletions

View File

@@ -1,21 +1,21 @@
---
title: Using submodules with GitHub Pages
intro: 'You can use submodules with {{ site.data.variables.product.prodname_pages }} to include other projects in your site''s code.'
intro: 'You can use submodules with {% data variables.product.prodname_pages %} to include other projects in your site''s code.'
redirect_from:
- /articles/using-submodules-with-pages/
- /articles/using-submodules-with-github-pages
product: '{{ site.data.reusables.gated-features.pages }}'
product: '{% data reusables.gated-features.pages %}'
versions:
free-pro-team: '*'
---
If the repository for your {{ site.data.variables.product.prodname_pages }} site contains submodules, their contents will automatically be pulled in when your site is built.
If the repository for your {% data variables.product.prodname_pages %} site contains submodules, their contents will automatically be pulled in when your site is built.
You can only use submodules that point to public repositories, because the {{ site.data.variables.product.prodname_pages }} server cannot access private repositories.
You can only use submodules that point to public repositories, because the {% data variables.product.prodname_pages %} server cannot access private repositories.
Use the `https://` read-only URL for your submodules, including nested submodules. You can make this change in your _.gitmodules_ file.
### Further reading
- "[Git Tools - Submodules](https://git-scm.com/book/en/Git-Tools-Submodules)" from the _Pro Git_ book
- "[Troubleshooting Jekyll build errors for {{ site.data.variables.product.prodname_pages }} sites](/articles/troubleshooting-jekyll-build-errors-for-github-pages-sites)"
- "[Troubleshooting Jekyll build errors for {% data variables.product.prodname_pages %} sites](/articles/troubleshooting-jekyll-build-errors-for-github-pages-sites)"