generated from cms/tibi-docs
This commit is contained in:
parent
86d5449213
commit
86d8720c00
@ -1,5 +1,6 @@
|
|||||||
import configClient from "../../api/hooks/config-client"
|
import configClient from "../../api/hooks/config-client"
|
||||||
|
|
||||||
export const apiBaseURL = "/api/"
|
export const apiBaseURL = "/api/"
|
||||||
|
export const baseURL = "https://www.fontis.de"
|
||||||
export const release = configClient.release
|
export const release = configClient.release
|
||||||
console.log("Release: ", release)
|
console.log("Release: ", release)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import { mediaLibrary, pages, scrollToRowNr, team } from "../../store"
|
import { mediaLibrary, pages, scrollToRowNr, team } from "../../store"
|
||||||
import Homepage from "./Homepage.svelte"
|
import Homepage from "./Homepage.svelte"
|
||||||
import Pagebuilder from "./Pagebuilder.svelte"
|
import Pagebuilder from "./Pagebuilder.svelte"
|
||||||
import { apiBaseURL } from "../../../config"
|
import { apiBaseURL, baseURL } from "../../../config"
|
||||||
import { onMount } from "svelte"
|
import { onMount } from "svelte"
|
||||||
|
|
||||||
export let path: string
|
export let path: string
|
||||||
@ -71,6 +71,7 @@
|
|||||||
{#if page?.active === false}
|
{#if page?.active === false}
|
||||||
<meta name="robots" content="noindex" />
|
<meta name="robots" content="noindex" />
|
||||||
{/if}
|
{/if}
|
||||||
|
<link rel="canonical" href="{baseURL + page.path}" />
|
||||||
{/key}
|
{/key}
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
<div class="rows" class:HP="{path == '/'}">
|
<div class="rows" class:HP="{path == '/'}">
|
||||||
|
Loading…
Reference in New Issue
Block a user