From 16fae5a6db8246987fd090030fac8422e84f4de2 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Tue, 17 Sep 2019 22:55:15 +0900 Subject: [PATCH] docs: Add Tips and FAQ section for #25 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 2af2a19..54c6d73 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ Table of Contents - [:star: `PERSONAL_TOKEN`](#star-personal_token) - [:star: `GITHUB_TOKEN`](#star-github_token) - [:star: Suppressing empty commits](#star-suppressing-empty-commits) +- [Tips and FAQ](#tips-and-faq) + - [How to add `CNAME`](#how-to-add-cname) - [Examples](#examples) - [Static Site Generators with Node.js](#static-site-generators-with-nodejs) - [Gatsby](#gatsby) @@ -173,6 +175,18 @@ For example: ``` +## Tips and FAQ + +### How to add `CNAME` + +Most of the Static Site Generators support `CNAME` as a static file. + +- [Use a Custom Domain | Hugo](https://gohugo.io/hosting-and-deployment/hosting-on-github/#use-a-custom-domain) +- [Using the Static folder | GatsbyJS](https://www.gatsbyjs.org/docs/static-folder/) + +The same may be said of other files (`.nojekyll`, `BingSiteAuth.xml`, `robots.txt`, etc.). It is better to manage those files by Static Site Generators. + + ## Examples