Why do we need to pass it when it never changes? That's just a copy-paste from a homepage.
This commit is contained in:
parent
02d94542e0
commit
c1e748965e
@ -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)),
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user