mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
115 lines
4.4 KiB
HTML
115 lines
4.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="description" content="Read this on PixivFE" />
|
|
|
|
{{ title := "PixivFE" }}
|
|
{{- if isset(.Title) -}}
|
|
{{ title = .Title + " - PixivFE" }}
|
|
{{ end -}}
|
|
<title>{{ title }}</title>
|
|
|
|
<link href="/img/favicon.png" rel="icon" />
|
|
<link href="/css/style.css" rel="stylesheet" />
|
|
|
|
<meta name="htmx-config" content='{"includeIndicatorStyles":false}'>
|
|
<script src="/js/htmx@1.9.10.min.js"
|
|
integrity="sha384-D1Kt99CQMDuVetoL1lrYwg5t+9QdHe7NLX/SoJYkXDFfX37iInKRy5xLSi8nO7UC"></script>
|
|
|
|
<script src="/js/illust-preview.js" defer></script>
|
|
|
|
<meta content="summary_large_image" name="twitter:card" />
|
|
|
|
<meta property="og:title" content="{{ title }}" />
|
|
<meta property="og:site_name" content="PixivFE" />
|
|
<meta property="og:type" content="article" />
|
|
<meta property="og:url" content="{{ PageURL }}" />
|
|
|
|
{{- if isset(.MetaAuthor) }}
|
|
<link rel="alternate" type="application/json+oembed"
|
|
href="{{ BaseURL }}/oembed?a={{ .MetaAuthor }}&u={{ BaseURL }}/users/{{ .MetaAuthorID }}">
|
|
{{- else }}
|
|
<link rel="alternate" type="application/json+oembed" href="{{ BaseURL }}/oembed">
|
|
{{- end -}}
|
|
|
|
{{- if isset(.MetaDescription) }}
|
|
<meta property="og:description" content="{{.MetaDescription}}" />
|
|
{{- end -}}
|
|
|
|
{{- if isset(.MetaImage) }}
|
|
<meta property="og:image" content="{{ .MetaImage }}" />
|
|
{{- end }}
|
|
</head>
|
|
|
|
<body data-hx-boost="true" data-hx-swap="outerHTML" data-hx-target="main" data-hx-select="main"
|
|
data-hx-indicator="#loading-indicator">
|
|
<div id="loading-indicator"></div>
|
|
<nav>
|
|
<div class="navigation-wrapper">
|
|
<span class="navbar-entry">
|
|
<span class="sidebar-container">
|
|
<input type="checkbox" class="sidebar-toggler" id="sidebar-toggler" />
|
|
<label for="sidebar-toggler" class="sidebar-label">
|
|
<img src="/img/menu-thin.png" alt="Menu" width="30" height="30" />
|
|
</label>
|
|
<div class="sidebar">
|
|
<ul class="sidebar-list">
|
|
<a class="sidebar-item" href="/discovery">
|
|
<img src="/img/compass.png" alt="compass" />Discovery</a>
|
|
<a class="sidebar-item" href="/ranking">
|
|
<img src="/img/crown.png" alt="crown" />Ranking</a>
|
|
<a class="sidebar-item" href="/rankingCalendar">
|
|
<img src="/img/calendar.png" alt="calendar" />Ranking history</a>
|
|
<a class="sidebar-item" href="/newest">
|
|
<img src="/img/sparkling.png" alt="sparkling" />Newest</a>
|
|
<br />
|
|
<a class="sidebar-item" href="/self/followingWorks">
|
|
<img src="/img/users.png" alt="users" />Latest by followed</a>
|
|
<a class="sidebar-item" href="/self/bookmarks">
|
|
<img src="/img/heart.png" alt="heart" />Your bookmarks</a>
|
|
<a class="sidebar-item" href="/self">
|
|
<img src="/img/user.png" alt="user" />Your profile</a>
|
|
<br />
|
|
<a class="sidebar-item" href="/settings">
|
|
<img src="/img/settings.png" alt="settings" />Settings</a>
|
|
<a class="sidebar-item" href="/about">
|
|
<img src="/img/about.svg" alt="about" />About</a>
|
|
<br />
|
|
<a class="sidebar-item" href="https://codeberg.org/vnpower/pixivfe">
|
|
<img src="/img/globe.png" alt="globe" />Source code</a>
|
|
</ul>
|
|
</div>
|
|
</span>
|
|
<a class="navbar-brand" href="/">
|
|
<img src="/img/favicon.png" alt="PixivFE icon" />
|
|
<span>PixivFE</span>
|
|
</a>
|
|
</span>
|
|
|
|
<span class="navbar-entry">
|
|
<form action="/tags" method="post" class="search-form" autocomplete="off">
|
|
<input type="text" name="name" required="true" class="search-form-text" placeholder="⌕ Search artworks..." />
|
|
<label class="navbar-entry"><img src="/img/search.svg" alt="Search" /><input type="submit" hidden /></label>
|
|
</form>
|
|
</span>
|
|
|
|
<a class="navbar-entry" href="/settings">
|
|
<img src="/img/cog.svg" alt="Settings" />
|
|
</a>
|
|
</div>
|
|
<div class="navbar-shadow"></div>
|
|
</nav>
|
|
<script src="/js/on-page-load.js"></script>
|
|
<main>
|
|
{{- yield body() }}
|
|
</main>
|
|
<div id="site-config">
|
|
<span id="artworkPreview">{{CookieList["pixivfe-ArtworkPreview"]}}</span>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|