FAQs

1. Can I add tracking codes to the site?

Yes, you can add Google Analytics, Google Search Console, or other tracking scripts to the site. Just navigate to the /src/_includes/tracking.njk file and add your code to the file – push your changes online and it's done.

If multiple scripts, just add add them one below the other.

2. How do I generate PDF and EPUB versions?

You can generate PDF and EPUB versions by setting the formats value to true in the site.js file under the _data folder. This will generate the files and show the download icons on the homepage.

You can also learn more about this in the file structure section.

3. How do I add a custom slug to a chapter?

You can add a custom slug to a chapter by adding the customSlug value to the frontmatter of the chapter file. This will be used to generate the chapter URL and the download link.