aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmpl/index.tmpl24
-rw-r--r--tmpl/index_login.tmpl30
2 files changed, 27 insertions, 27 deletions
diff --git a/tmpl/index.tmpl b/tmpl/index.tmpl
index af8aaa9..f176657 100644
--- a/tmpl/index.tmpl
+++ b/tmpl/index.tmpl
@@ -15,18 +15,18 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ -}}
-{{ define "index" }}
+{{- define "index" -}}
<!DOCTYPE html>
<html>
-<head>
-<title>
-Title
-</title>
-</head>
-<body>
-<p>
-Paragraph
-</p>
-</body>
+ <head>
+ <title>
+ Title
+ </title>
+ </head>
+ <body>
+ <p>
+ Paragraph
+ </p>
+ </body>
</html>
-{{ end }}
+{{- end -}}
diff --git a/tmpl/index_login.tmpl b/tmpl/index_login.tmpl
index da3396c..d9b997c 100644
--- a/tmpl/index_login.tmpl
+++ b/tmpl/index_login.tmpl
@@ -15,21 +15,21 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ -}}
-{{ define "index_login" }}
+{{- define "index_login" -}}
<!DOCTYPE html>
<html>
-<head>
-<title>
-Login required &ndash; FBFP
-</title>
-</head>
-<body>
-<p>
-You have not authenticated.
-</p>
-<p>
-You must <a href="login">login</a> to use this service.
-</p>
-</body>
+ <head>
+ <title>
+ Login required &ndash; FBFP
+ </title>
+ </head>
+ <body>
+ <p>
+ You have not authenticated.
+ </p>
+ <p>
+ You must <a href="login">login</a> to use this service.
+ </p>
+ </body>
</html>
-{{ end }}
+{{- end -}}