diff options
Diffstat (limited to 'templates/category_index.html')
-rw-r--r-- | templates/category_index.html | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/templates/category_index.html b/templates/category_index.html index 76f55e1..cd5e95c 100644 --- a/templates/category_index.html +++ b/templates/category_index.html @@ -1,23 +1,23 @@ {{- define "category_index" -}} <!DOCTYPE html> <html> -<head> -<link rel="stylesheet" href="/static/style.css" /> -<title>{{ .category_name }}</title> -</head> -<body class="category-index"> -<div class="padding-wrapper"> -<h1> -Repos in {{ .category_name }} -</h1> -<ul> -{{- range .repos }} -<li> -<a href="repos/{{ . }}/">{{ . }}</a> -</li> -{{- end }} -</ul> -</div> -</body> + <head> + <link rel="stylesheet" href="/static/style.css" /> + <title>{{ .category_name }}</title> + </head> + <body class="category-index"> + <div class="padding-wrapper"> + <h1> + Repos in {{ .category_name }} + </h1> + <ul> + {{- range .repos }} + <li> + <a href="repos/{{ . }}/">{{ . }}</a> + </li> + {{- end }} + </ul> + </div> + </body> </html> {{- end -}} |