Updated README FAQ section (#1532)

This commit is contained in:
George 2023-07-03 12:37:10 -03:00 committed by GitHub
parent 567b731de6
commit 554ab3490b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 3 deletions

View File

@ -403,20 +403,29 @@ If you have a different question, please ask using [Discussions](https://github.
(Relevant issue: [130](https://github.com/alshedivat/al-folio/issues/130).) (Relevant issue: [130](https://github.com/alshedivat/al-folio/issues/130).)
3. **Q:** My webpage works locally. 3. **Q:** My webpage works locally.
But after deploying, it fails to build and throws `Unknown tag 'toc'`.
How do I fix that? <br>
**A:** Make sure you followed through the [deployment instructions](#deployment) in the previous section.
You should have set the deployment branch to `gh-pages`.
(Related issue: [1438](https://github.com/alshedivat/al-folio/issues/1438).)
4. **Q:** My webpage works locally.
But after deploying, it is not displayed correctly (CSS and JS is not loaded properly). But after deploying, it is not displayed correctly (CSS and JS is not loaded properly).
How do I fix that? <br> How do I fix that? <br>
**A:** Make sure to correctly specify the `url` and `baseurl` paths in `_config.yml`. **A:** Make sure to correctly specify the `url` and `baseurl` paths in `_config.yml`.
Set `url` to `https://<your-github-username>.github.io` or to `https://<your.custom.domain>` if you are using a custom domain. Set `url` to `https://<your-github-username>.github.io` or to `https://<your.custom.domain>` if you are using a custom domain.
If you are deploying a personal or organization website, leave `baseurl` blank. If you are deploying a personal or organization website, leave `baseurl` blank.
If you are deploying a project page, set `baseurl: /<your-project-name>/`. If you are deploying a project page, set `baseurl: /<your-project-name>/`.
If all previous steps were done correctly, all is missing is
[for your browser to fetch again the site stylesheet](https://github.com/alshedivat/al-folio/issues/1398#issuecomment-1609518404).
4. **Q:** Atom feed doesn't work. Why? 5. **Q:** Atom feed doesn't work. Why?
<br> <br>
**A:** Make sure to correctly specify the `url` and `baseurl` paths in `_config.yml`. **A:** Make sure to correctly specify the `url` and `baseurl` paths in `_config.yml`.
RSS Feed plugin works with these correctly set up fields: `title`, `url`, `description` and `author`. RSS Feed plugin works with these correctly set up fields: `title`, `url`, `description` and `author`.
Make sure to fill them in an appropriate way and try again. Make sure to fill them in an appropriate way and try again.
5. **Q:** My site doesn't work when I enable `related_blog_posts`. Why? <br> 6. **Q:** My site doesn't work when I enable `related_blog_posts`. Why? <br>
**A:** This is probably due to the [classifier reborn](https://github.com/jekyll/classifier-reborn) plugin, which is used to calculate **A:** This is probably due to the [classifier reborn](https://github.com/jekyll/classifier-reborn) plugin, which is used to calculate
related posts. If the error states `Liquid Exception: Zero vectors can not be normalized...`, it means that it could not calculate related related posts. If the error states `Liquid Exception: Zero vectors can not be normalized...`, it means that it could not calculate related
posts for a specific post. This is usually caused by [empty or minimal blog posts](https://github.com/jekyll/classifier-reborn/issues/64) posts for a specific post. This is usually caused by [empty or minimal blog posts](https://github.com/jekyll/classifier-reborn/issues/64)