Viewing final Franklin website from __site folder

There’s more details here but in short yes, the content of __site is what you want to put on the server.

One thing to note is that there’s two situations:

  1. the base URL is abc.com and the landing page is at abc.com/index.html; in that case you just have to copy paste the content of __site to the server
  2. the base URL is abc.com/base and the landing page is at abc.com/base/index.html; in that case you just have to copy paste the content of __site to the server after having called optimize and making sure that there is a line prepath = "base" in the file config.md

If you’re deploying on GitHub for instance, case (1) is a “personal page” (username.github.io) and case (2) is a “project page” (username.github.io/foobar/)

If you tried deploying by copy pasting the content and saw un-styled content, it’s usually because the prepath is not set properly (again, cf. link at the beginning of my answer).

3 Likes