Improve SEO meta for templates pages
This commit is contained in:
parent
5773af6f83
commit
92b2548add
|
@ -57,6 +57,7 @@ import Fuse from 'fuse.js'
|
||||||
import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
|
import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
|
||||||
import OpenCompleteForm from '../../components/open/forms/OpenCompleteForm.vue'
|
import OpenCompleteForm from '../../components/open/forms/OpenCompleteForm.vue'
|
||||||
import Breadcrumb from "../../components/common/Breadcrumb.vue";
|
import Breadcrumb from "../../components/common/Breadcrumb.vue";
|
||||||
|
import SeoMeta from "../../mixins/seo-meta";
|
||||||
|
|
||||||
const loadTemplates = function () {
|
const loadTemplates = function () {
|
||||||
store.commit('open/templates/startLoading')
|
store.commit('open/templates/startLoading')
|
||||||
|
@ -66,6 +67,8 @@ const loadTemplates = function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
mixins: [SeoMeta],
|
||||||
|
|
||||||
components: {Breadcrumb, OpenFormFooter, OpenCompleteForm},
|
components: {Breadcrumb, OpenFormFooter, OpenCompleteForm},
|
||||||
|
|
||||||
beforeRouteEnter(to, from, next) {
|
beforeRouteEnter(to, from, next) {
|
||||||
|
|
|
@ -41,6 +41,7 @@ import store from '~/store'
|
||||||
import {mapGetters, mapState} from 'vuex'
|
import {mapGetters, mapState} from 'vuex'
|
||||||
import Fuse from 'fuse.js'
|
import Fuse from 'fuse.js'
|
||||||
import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
|
import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
|
||||||
|
import SeoMeta from "../../mixins/seo-meta";
|
||||||
|
|
||||||
const loadTemplates = function () {
|
const loadTemplates = function () {
|
||||||
store.commit('open/templates/startLoading')
|
store.commit('open/templates/startLoading')
|
||||||
|
@ -50,6 +51,8 @@ const loadTemplates = function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
mixins: [SeoMeta],
|
||||||
|
|
||||||
components: {OpenFormFooter},
|
components: {OpenFormFooter},
|
||||||
|
|
||||||
beforeRouteEnter(to, from, next) {
|
beforeRouteEnter(to, from, next) {
|
||||||
|
@ -59,7 +62,7 @@ export default {
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
metaTitle: {type: String, default: 'Templates'},
|
metaTitle: {type: String, default: 'Templates'},
|
||||||
metaDescription: {type: String, default: 'Public templates for create form quickly!'}
|
metaDescription: {type: String, default: 'Our collection of beautiful templates to create your own forms!'}
|
||||||
},
|
},
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
Loading…
Reference in New Issue