Updates page title

Torey Heinz committed Apr 12, 2020
commit 54cd00413038642c2d5be44fde33147c71cd3483
Showing 4 changed files with 11 additions and 2 deletions
gridsome.config.js +1 -1
@@ @@ -5,7 +5,7 @@
// To restart press CTRL + C in terminal and run `gridsome develop`
module.exports = {
- siteName: "Gridsome",
+ siteName: "Anchor Rock Foundation",
plugins: [
"gridsome-plugin-pug",
{
site.config.json +0 -1
@@ @@ -1,5 +1,4 @@
{
- "siteName": "Company Name",
"headerNavigation": [
{
"text": "Home",
src/favicon.png +0 -0
src/templates/ContentPage.vue +10 -0
@@ @@ -6,6 +6,16 @@
slot
</template>
+ <script>
+ export default {
+ metaInfo() {
+ return {
+ title: this.$page.contentPage.heading,
+ }
+ }
+ }
+ </script>
+
<page-query>
query ($id: ID!) {
contentPage(id: $id) {