update meta tag for homepage too

This commit is contained in:
hippoz 2020-10-25 18:50:03 +02:00
parent 29fed2b53a
commit d931ad2beb
2 changed files with 2 additions and 1 deletions

View file

@ -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">

View file

@ -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': {