1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-09-20 03:07:28 +00:00
cloudtube/pug/includes/layout.pug

29 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-08-22 13:17:31 +00:00
doctype html
html
head
meta(charset="utf-8")
2020-08-24 13:49:15 +00:00
meta(name="viewport" content="width=device-width, initial-scale=1")
2020-08-22 13:17:31 +00:00
link(rel="stylesheet" type="text/css" href=getStaticURL("sass", "/main.sass"))
script(type="module" src=getStaticURL("html", "/static/js/focus.js"))
block head
body.show-focus
2021-01-12 12:13:46 +00:00
- let showNav = true
block pre-nav
if showNav
nav.main-nav
.links
a(href="/").link.home CloudTube
a(href="/subscriptions" title="Subscriptions").link.icon-link
svg(width=30 height=25)
image(href=getStaticURL("html", "/static/images/subscriptions.svg") alt="Subscriptions.").icon
title Subscriptions
2021-01-12 12:13:46 +00:00
a(href="/settings" title="Settings").link.icon-link
svg(width=25 height=25)
image(href=getStaticURL("html", "/static/images/settings.svg") alt="Settings.").icon
title Settings
2021-01-12 12:13:46 +00:00
form(method="get" action="/search").search-form
input(type="text" placeholder="Search" name="q" autocomplete="off" value=query).search
2020-08-22 13:17:31 +00:00
block content