All checks were successful
Deploy to NAS / deploy (push) Successful in 2m20s
- Migrate static JS to TypeScript (static-ts/ → compiled to internal/api/static/) - Add image resizing on upload: JPEG/PNG/WebP scaled to max 1920px at quality 80 - Extract shared upload logic into upload.go (saveUpload, saveResizedImage, saveResizedWebP) - Add POST /media endpoint for drag-drop/paste media uploads with markdown ref return - Add background music player with video/audio coordination (autoplay.ts) - Add global nav, public feed, hashtags, visibility, Markdown rendering for entries - Add Dockerfile stage for TypeScript compilation (static-ts-builder) - Add goldmark, disintegration/imaging, golang.org/x/image dependencies Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
27 lines
831 B
HTML
27 lines
831 B
HTML
{{define "base"}}<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{block "title" .}}Reisejournal{{end}}</title>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.slate.min.css">
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
</head>
|
|
<body>
|
|
<nav class="site-nav container">
|
|
<a href="/">Journal</a>
|
|
{{if .LoggedIn}}
|
|
<a href="/days">Tage</a>
|
|
{{if .IsAdmin}}<a href="/admin">Admin</a>{{end}}
|
|
<form method="post" action="/logout"><button type="submit" class="nav-btn">Ausloggen</button></form>
|
|
{{else}}
|
|
<a href="/login">Anmelden</a>
|
|
{{end}}
|
|
</nav>
|
|
{{block "content" .}}{{end}}
|
|
{{block "scripts" .}}{{end}}
|
|
<script src="/static/autoplay.js"></script>
|
|
</body>
|
|
</html>
|
|
{{end}}
|