Header
This commit is contained in:
16
templates/header.html
Normal file
16
templates/header.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{define "header"}}
|
||||
<header>
|
||||
<nav>
|
||||
<div class="logo">yt-dlp Site</div>
|
||||
<ul class="nav-links">
|
||||
<li><a href="/videos">Videos</a></li>
|
||||
<li><a href="/download">Download</a></li>
|
||||
<li><a href="/logout">Logout</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
{{end}}
|
||||
|
||||
{{define "header-css"}}
|
||||
<link rel="stylesheet" href="/static/style/header.css">
|
||||
{{end}}
|
Reference in New Issue
Block a user