<template>
  <div>
    <SiteHeader/>
    <nuxt/>
    <SiteFooterHomePage v-if="this.$route.name === 'lang'"/>
    <SiteFooterGlobal v-else/>
    <off-canvas/>
    <page-load/>
    <pre-loader/>
  </div>
</template>


<script>
export default {
  head() {
    return {
      htmlAttrs: {
        lang: this.$route.params.lang
      },
      meta: [
        {
          hid: 'description',
          name: 'description',
          content: this.$store.state.global.meta_description[this.$route.params.lang]
        }
      ],
    }
  }
}
</script>
