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": { "search.exclude": {
"components/": true, "components/": true,
"audio/": true,
"video/": true,
"**/*.svg": true, "**/*.svg": true,
"**/*.html": true, "**/*.html": true,
"**/*.opus": true, "**/*.opus": true,

View File

@ -15,7 +15,7 @@ const (
// The maximum age of files we accept until we force a refresh. // The maximum age of files we accept until we force a refresh.
maxAge = 24 * time.Hour maxAge = 24 * time.Hour
delayBetweenRequests = 1100 * time.Millisecond 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{ 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") meta(name="google-site-verification", content="1U-E2pDaYbFHyOSWl6AX3DvixQuDc4kfem9Kde_jZ8A")
body body
#container(class=utils.GetContainerClass(ctx)) #container(class=utils.GetContainerClass(ctx))
//- #header
//- Navigation(user)
#columns #columns
Sidebar(user) Sidebar(user)
Content(content) Content(content)
LoadingAnimation LoadingAnimation
StatusMessage StatusMessage
ExtensionNavigation(user) ExtensionNavigation(user)
if user != nil if user != nil
#user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme) #user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme)