aboutsummaryrefslogtreecommitdiff
path: root/templates/base.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.qtpl')
-rw-r--r--templates/base.qtpl38
1 files changed, 18 insertions, 20 deletions
diff --git a/templates/base.qtpl b/templates/base.qtpl
index ae9f7a6..9e2e6ac 100644
--- a/templates/base.qtpl
+++ b/templates/base.qtpl
@@ -39,25 +39,23 @@ Page prints a page implementing Page interface.
{% func PageTemplate(p Page) %}
<!DOCTYPE html>
<html lang="en">
- <head>
- <meta charset="utf-8">
- <link rel="icon" href="data:,">
- <title>{%= p.Title() %}</title>
- <link rel="stylesheet" href="/static/main{%s Slug%}.css">
- <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- </head>
- <body>
- {%= p.Navbar() %}
- <div class="container">
- {%= p.Content() %}
- </div>
- </body>
- {%= p.Script() %}
+ <head>
+ <meta charset="utf-8">
+ <link rel="icon" href="data:,">
+ <title>{%= p.Title() %}</title>
+ <link rel="stylesheet" href="/static/main{%s Slug%}.css">
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ </head>
+ <body>
+ <div class="alert alert-warning text-center" role="alert">
+ This project is under development, things may be broken or incomplete.
+ </div>
+ {%= p.Navbar() %}
+ <div class="container">
+ {%= p.Content() %}
+ </div>
+ </body>
+ {%= p.Script() %}
</html>
{% endfunc %}
-
-{% code type BasePage struct {} %}
-{% func (p *BasePage) Title() %}Empty{% endfunc %}
-{% func (p *BasePage) Body() %}HelloWorld{% endfunc %}
-{% func (p *BasePage) Script() %}{% endfunc %}