The Edit-This-Page button is a page repository link.
If you want to show the button, set
enableEditBtn
to true in theconfig.toml
file.1 2 3
... enableEditBtn = true ...
Set the link base path. We have two options. You can set it globally or locally.
- global: Set the
editBaseURL
param in the config.toml file.1 2 3
... editBaseURL: "https://github.com/zzossig/zzoDocs/blob/master/content/en" ...
- local: Set the
editBaseURL
param in the root section_index.md
file. For example, we have two sections root in this site.zzo
andzdoc
. You can see theZzo theme
andZdoc theme
menu on the navigation bar. That is the root section.1 2 3 4 5 6 7
--- title: "" date: "" ... editBaseURL: "https://github.com/zzossig/zzoDocs/blob/master/content/en" ... ---
- global: Set the