You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Non GitHub pages site (e.g. Netlify) {#non-git-hub-pages-site-e-g-netlify}
3
+
## Site que não seja de páginas do Github Pages (por exemplo, Netlify) {#non-git-hub-pages-site-e-g-netlify}
4
4
5
-
Replace the content of the current website with a `index.html`and`404.html` files both containing:
5
+
Substitua o conteúdo do site atual por dois arquivos chamados `index.html`e`404.html`. Ambos os arquivos devem conter o seguinte conteúdo:
6
6
7
7
```html
8
8
<html>
@@ -12,12 +12,12 @@ Replace the content of the current website with a `index.html` and `404.html` fi
12
12
</html>
13
13
```
14
14
15
-
## GitHub pages {#git-hub-pages}
15
+
## Páginas do GitHub {#git-hub-pages}
16
16
17
-
You can setup the redirect from your main user gh-pages repository:
17
+
Você pode configurar o redirecionamento no repositório gh-pages do seu usuário principal:
18
18
19
-
-create a new repository (if you don't have one yet): `https://github.com/<username>/<username>.github.io`.
20
-
-In this repository create a directory `<pkgname>`containing 2 files: a`index.html`and`404.html`file, which both redirect to the new location (see previous subsection).
21
-
-Test that `https://<username>.github.io/<pkgname>/index.html`now redirects.
19
+
-crie um novo repositório (se você ainda não tiver um): `https://github.com/<username>/<username>.github.io`.
20
+
-Nesse repositório, crie um diretório `<pkgname>`contendo 2 arquivos: um`index.html`e`404.html`que redirecionam para o novo local (consulte a subseção anterior).
21
+
-Teste o endereço `https://<username>.github.io/<pkgname>/index.html`que vai redirecionar.
0 commit comments