diff --git a/components/head-layout.js b/components/head-layout.js
index d5a8ac3..e774b01 100644
--- a/components/head-layout.js
+++ b/components/head-layout.js
@@ -4,9 +4,13 @@ import Head from 'next/head'
import Navigasyon from './navigasyon'
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'
+const apiUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:1337'
export default function HeadLayout({
children,
+ imageUrl,
+ imageWidth,
+ imageHeight,
title,
tab,
slug
@@ -24,7 +28,7 @@ export default function HeadLayout({
-
+
@@ -39,12 +43,12 @@ export default function HeadLayout({
-
-
+
+
-
-
-
+
+
+
{children}
@@ -54,12 +58,18 @@ export default function HeadLayout({
HeadLayout.propTypes = {
children: PropTypes.node.isRequired,
+ imageUrl: PropTypes.string,
+ imageWidth: PropTypes.number,
+ imageHeight: PropTypes.number,
title: PropTypes.string,
tab: PropTypes.number.isRequired,
slug: PropTypes.string
}
HeadLayout.defaultProps = {
+ imageUrl: null,
+ imageWidth: null,
+ imageHeight: null,
title: null,
slug: null
}
diff --git a/pages/teks/[slug].js b/pages/teks/[slug].js
index 0d9e333..8cd7bf6 100644
--- a/pages/teks/[slug].js
+++ b/pages/teks/[slug].js
@@ -11,9 +11,15 @@ const jwennAwtis = awtis => {
export default function SlugTeks({teks, anTeks, slug}) {
const awtis = anTeks.awtis.length === 1 ? anTeks.awtis[0].alias : jwennAwtis(anTeks.awtis)
+ const {kouveti} = anTeks
return (
-
+
)