Added static/front and meta tags (#9712)
* Added static/front and meta tags * Moved meta to index
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template lang="pug">
|
||||
div
|
||||
static-header(v-if='showContentWrap', :class='{"home-header": $route.name === "home"}')
|
||||
static-header(v-if='showContentWrap', :class='{"home-header": ["home", "front"].indexOf($route.name) !== -1}')
|
||||
|
||||
.static-wrapper
|
||||
router-view
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Habitica</title>
|
||||
<title>Habitica - Gamify Your Life</title>
|
||||
<meta name="description" content="Habitica is a free habit and productivity app that treats your real life like a game. Habitica can help you achieve your goals to become healthy and happy.">
|
||||
<meta name="keywords" content="Habits,Goals,Todo,Gamification,Health,Fitness,School,Work">
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:400,400i,700,700i|Roboto:400,400i,700,700i" rel="stylesheet">
|
||||
<link rel="shortcut icon" sizes="48x48" href="/static/icons/favicon.ico">
|
||||
<link rel="shortcut icon" sizes="192x192" href="/static/icons/favicon_192x192.png">
|
||||
|
||||
@@ -258,6 +258,7 @@ const router = new VueRouter({
|
||||
{ name: 'features', path: 'features', component: FeaturesPage, meta: {requiresLogin: false}},
|
||||
{ name: 'groupPlans', path: 'group-plans', component: GroupPlansPage, meta: {requiresLogin: false}},
|
||||
{ name: 'home', path: 'home', component: HomePage, meta: {requiresLogin: false} },
|
||||
{ name: 'front', path: 'front', component: HomePage, meta: {requiresLogin: false} },
|
||||
{ name: 'merch', path: 'merch', component: MerchPage, meta: {requiresLogin: false}},
|
||||
{ name: 'news', path: 'new-stuff', component: NewsPage, meta: {requiresLogin: false}},
|
||||
{ name: 'overview', path: 'overview', component: OverviewPage, meta: {requiresLogin: false}},
|
||||
|
||||
Reference in New Issue
Block a user