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">
|
||||
|
||||
<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>
|
||||
<body>
|
||||
<div class="card navigation noselect">
|
||||
|
|
|
@ -23,6 +23,7 @@ const peformRouteAction = async (pathname) => {
|
|||
switch (route) {
|
||||
case '': {
|
||||
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;
|
||||
}
|
||||
case '/blog': {
|
||||
|
|
Loading…
Reference in a new issue