feat: Page Title heading, links/paths to assets/css do not need full URI

This commit is contained in:
HeshamTB 2023-09-13 12:02:45 +03:00
parent 2feda54fe4
commit 72e6543415
3 changed files with 3 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

1
assets/images/dummy.txt Normal file
View File

@ -0,0 +1 @@
dummy

View File

@ -6,11 +6,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Download or playback videos and music in full quality"> <meta name="description" content="Download or playback videos and music in full quality">
<meta name="keywords" content="Download, Youtube, yt-dlp, MP3, Convert"> <meta name="keywords" content="Download, Youtube, yt-dlp, MP3, Convert">
<link rel="stylesheet" href="{{ if .IsTLS }}https{{ else }}http{{ end }}://{{ .AppURL }}/static/static/css/pico.min.css"> <link rel="stylesheet" href="/static/static/css/pico.min.css">
<script src="https://unpkg.com/htmx.org@1.9.5"></script> <script src="https://unpkg.com/htmx.org@1.9.5"></script>
<title>Viddle your fiddle</title> <title>Viddle your fiddle</title>
</head> </head>
<main class="container"> <main class="container">
<h1>Viddle your fiddle</h1>
<form hx-post="/download" hx-target="#get-btn" hx-swap="outerHTML" hx-indicator="#progress"> <form hx-post="/download" hx-target="#get-btn" hx-swap="outerHTML" hx-indicator="#progress">
<label for="URL">Link</label> <label for="URL">Link</label>
<div class="grid"> <div class="grid">