diff --git a/files/index.js b/files/index.js index 7f3b80a..1c65332 100644 --- a/files/index.js +++ b/files/index.js @@ -88,8 +88,6 @@ function setRoutes() { = await getDirectoryList(file_path, decodeURI(ctx.originalUrl)); await ctx.render('index', { - title: "/ Files", - description: "File share.", clientTZ: util.getClientTimezone(ctx), main_site: util.getServiceByHost(ctx.header.host), current_path: buildCurrentPathLink(decodeURI(ctx.originalUrl)), diff --git a/files/views/index.pug b/files/views/index.pug index 96b3e0a..36af7ba 100644 --- a/files/views/index.pug +++ b/files/views/index.pug @@ -1,12 +1,12 @@ doctype html html(lang='en') head - title Arav's dwelling #{title} + title Arav's dwelling / Files meta(charset='utf-8') meta(http-equiv='X-UA-Compatible' content='IE=edge') meta(name='viewport' content='width=device-width, initial-scale=1.0') meta(name='theme-color' content='#cd2682') - meta(name='description' content=description) + meta(name='description' content='My file share.') link(rel='icon' type='image/svg+xml' href='/shared/img/favicon.svg' sizes='any') link(href='/assets/css/main.css' rel='stylesheet') script(src='/assets/js/main.js' defer)