diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/html/base.tmpl.html | 2 | ||||
-rw-r--r-- | ui/html/partials/nav.tmpl.html | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ui/html/base.tmpl.html b/ui/html/base.tmpl.html index cb98c32..91bdbc2 100644 --- a/ui/html/base.tmpl.html +++ b/ui/html/base.tmpl.html @@ -11,7 +11,7 @@ </head> <body> <header> - <h1><a href="/">DED</a></h1> + {{ template "nav" . }} </header> <main> {{ template "main" }} diff --git a/ui/html/partials/nav.tmpl.html b/ui/html/partials/nav.tmpl.html new file mode 100644 index 0000000..9636855 --- /dev/null +++ b/ui/html/partials/nav.tmpl.html @@ -0,0 +1,5 @@ +{{ define "nav" }} +<nav> + <a href="/">Home</a> +</nav> +{{ end }} |