Skip to content

Commit

Permalink
docs: add site vs. page model section
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Mar 10, 2024
1 parent 9d2ad85 commit fc429b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/1.docs/2.guide/2.audit-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ You might be wondering how the Kirby SEO Audit plugin knows which URL to process

The plugin fetches the HTML content of the preview URL, performs the SEO evaluation on it and generates the SEO report.

## Site vs. Page Level

Technically, the plugin works with any Kirby model. It uses the `previewUrl` method of the current mode (site, page or file). In the blueprint template you can customize this preview URL (see next section).

So you can use the plugin on pages and sites, and even change the URL per template if you need to.

## Custom Target URL

In certain cases, you might want to customize the target URL used to generate the SEO report for. This can be done by adding a `preview` field to the page's options in the blueprint:
Expand Down

0 comments on commit fc429b1

Please sign in to comment.