diff --git a/skin/base.phps b/skin/base.phps index f32fb08..913b17f 100644 --- a/skin/base.phps +++ b/skin/base.phps @@ -188,11 +188,13 @@ function getStaticVersion(string $name): string { function renderHeader(SkinContext $ctx, string $theme): string { -$items = [ - ['url' => '/articles/', 'label' => 'articles'], +$items = []; +if (is_admin()) + $items[] = ['url' => '/articles/', 'label' => 'articles']; +array_push($items, ['url' => 'https://files.4in1.ws', 'label' => 'materials'], ['url' => '/info/', 'label' => 'about'] -]; +); if (is_admin()) $items[] = ['url' => '/admin/', 'label' => $ctx->renderSettingsIcon(), 'type' => 'settings']; $items[] = ['url' => 'javascript:void(0)', 'label' => $ctx->renderMoonIcons(), 'type' => 'theme-switcher', 'type_opts' => $theme];