Skip to content

Commit

Permalink
pages(yazilar/_slug): proper set head tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurg committed Jul 20, 2023
1 parent a4fd4e7 commit 57ef265
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pages/yazilar/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
</template>

<script>
import { buildHeadTags } from "@/utils/build-head-tags.js";
export default {
head() {
return this.head;
Expand Down Expand Up @@ -78,10 +80,11 @@ export default {
return {
articles: otherArticles,
article,
head: {
head: buildHeadTags({
title: article.title,
description: article.description
}
description: article.description,
ogImageName: "ana-sayfa.jpg"
})
};
}
};
Expand Down

0 comments on commit 57ef265

Please sign in to comment.