@functionalcms/svelte-components 3.0.26 → 3.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,7 @@
5
5
  let { source } = $props();
6
6
 
7
7
  const code = marked.parse(source);
8
+ console.log(code);
8
9
  </script>
9
10
 
10
11
  {@html code}
@@ -1,15 +1,14 @@
1
1
  <script lang="ts">
2
- import { page } from '$app/stores';
2
+ import { page } from '$app/state';
3
3
 
4
4
  export let headerIsSticky: boolean = false;
5
- export let tracker: string = '';
6
5
  export let canonicalUrl: string = '';
7
6
 
8
7
  $: headerCss = headerIsSticky ? 'sticky' : '';
9
8
  </script>
10
9
 
11
10
  <svelte:head>
12
- <link rel="canonical" href="{canonicalUrl}{$page.url.pathname}" />
11
+ <link rel="canonical" href="{canonicalUrl}{page.url.pathname}" />
13
12
  </svelte:head>
14
13
 
15
14
  <div id="defaultLayout">
@@ -34,7 +33,6 @@
34
33
  <slot name="sticky_footer" />
35
34
  </footer>
36
35
  {/if}
37
- <img src="https://{tracker}.goatcounter.com/count?p=/{$page.url.pathname}" alt="" />
38
36
 
39
37
  <style>
40
38
  footer.sticky {
@@ -2,7 +2,6 @@ import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
4
  headerIsSticky?: boolean;
5
- tracker?: string;
6
5
  canonicalUrl?: string;
7
6
  };
8
7
  events: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "3.0.26",
3
+ "version": "3.0.31",
4
4
  "watch": {
5
5
  "build": {
6
6
  "patterns": [