update meta tag for homepage too
This commit is contained in:
parent
29fed2b53a
commit
d931ad2beb
2 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<link rel="stylesheet" href="/res/style.css">
|
<link rel="stylesheet" href="/res/style.css">
|
||||||
|
|
||||||
<meta name="description" content="Hippoz's homepage on hippoz.xyz with a file server, a git server, an about page, and a contact page.">
|
<meta name="description" content="Hippoz's homepage on hippoz.xyz with a file server, a git server, an about page, a contact page, and a blog.">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="card navigation noselect">
|
<div class="card navigation noselect">
|
||||||
|
|
|
@ -23,6 +23,7 @@ const peformRouteAction = async (pathname) => {
|
||||||
switch (route) {
|
switch (route) {
|
||||||
case '': {
|
case '': {
|
||||||
A('#content-container').load('/pages/home.html');
|
A('#content-container').load('/pages/home.html');
|
||||||
|
A('meta[name="description"]').attr('content', "Hippoz's homepage on hippoz.xyz with a file server, a git server, an about page, a contact page, and a blog.");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case '/blog': {
|
case '/blog': {
|
||||||
|
|
Loading…
Reference in a new issue