Minor changes

This commit is contained in:
Eduard Urbach 2018-09-27 14:19:14 +09:00
parent 60a26c39f4
commit 5f7aa334e0
3 changed files with 5 additions and 3 deletions

View File

@ -14,6 +14,8 @@
},
"search.exclude": {
"components/": true,
"audio/": true,
"video/": true,
"**/*.svg": true,
"**/*.html": true,
"**/*.opus": true,

View File

@ -15,7 +15,7 @@ const (
// The maximum age of files we accept until we force a refresh.
maxAge = 24 * time.Hour
delayBetweenRequests = 1100 * time.Millisecond
userAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
userAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"
)
var headers = map[string]string{

View File

@ -47,14 +47,14 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
meta(name="google-site-verification", content="1U-E2pDaYbFHyOSWl6AX3DvixQuDc4kfem9Kde_jZ8A")
body
#container(class=utils.GetContainerClass(ctx))
//- #header
//- Navigation(user)
#columns
Sidebar(user)
Content(content)
LoadingAnimation
StatusMessage
ExtensionNavigation(user)
if user != nil
#user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme)