diff --git a/README.md b/README.md
index b554898..25269cb 100644
--- a/README.md
+++ b/README.md
@@ -92,6 +92,8 @@ NEXT_PUBLIC_URL_IMG=https://url-to.img-accords-library.com
NEXT_PUBLIC_URL_WATCH=https://url-to.watch-accords-library.com
NEXT_PUBLIC_URL_SELF=https://url-to-front-accords-library.com
NEXT_PUBLIC_URL_SEARCH=https://url-to.search-accords-library.com
+NEXT_PUBLIC_UMAMI_URL=https://url-to.umami-accords-library.com
+NEXT_PUBLIC_UMAMI_ID=abcdef0123456789
```
Run in dev mode:
diff --git a/src/components/AppLayout.tsx b/src/components/AppLayout.tsx
index 7a9dc5d..e1ee392 100644
--- a/src/components/AppLayout.tsx
+++ b/src/components/AppLayout.tsx
@@ -211,34 +211,35 @@ export const AppLayout = ({
{openGraph.title}
-
-
-
-
+
+
+
+
-
+
+ />
+ />
-
-
+ />
+
+
+
+
{/* Background when navbar is opened */}
diff --git a/src/pages/api/revalidate.ts b/src/pages/api/revalidate.ts
index ff16706..8e0859a 100644
--- a/src/pages/api/revalidate.ts
+++ b/src/pages/api/revalidate.ts
@@ -190,6 +190,9 @@ const Revalidate = (
paths.push(`/library/${body.entry.library_item.slug}`);
paths.push(`/library/${body.entry.library_item.slug}/scans`);
}
+ if (body.entry.content) {
+ paths.push(`/contents/${body.entry.content.slug}`);
+ }
serverRuntimeConfig.locales?.map((locale: string) => {
if (body.entry.library_item) {
paths.push(`/${locale}/library/${body.entry.library_item.slug}`);
@@ -197,6 +200,9 @@ const Revalidate = (
`/${locale}/library/${body.entry.library_item.slug}/scans`
);
}
+ if (body.entry.content) {
+ paths.push(`/${locale}/contents/${body.entry.content.slug}`);
+ }
});
break;
}