]> Untitled Git - web-gallery.git/blobdiff - navigator/app/templates/gallery.html
Updated to 1.7.0
[web-gallery.git] / navigator / app / templates / gallery.html
index d9404e08740cef6c59452c118fa5bd1007dd087d..72c7f33b76b27d06d4e94583f68ae675c4602400 100644 (file)
@@ -1,21 +1,17 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <title>{{ title }}</title>
-    <link rel="stylesheet" type="text/css" href="static/css/colors.css" />
-    <link rel="stylesheet" type="text/css" href="static/css/index.css" />
-</head>
-<body class="first-color">
-    <div class="titlecard second-color">
-    <h1>{{ title }}</h1>
+{% extends 'base.html' %}
 
-    <ul class="card third-color" id="navigation">
-    {% for gallery in galleries %}
-        <li class="link fourth-color">
-            <a href="{{ gallery }}">{{ gallery }}</a>
-        </li>
-    {% endfor %}
-    </ul>
-    </div>
-</body>
-</html>
+{% block title %}
+{{ title }}
+{% endblock %}
+
+{% block content %}
+<h1>{{ title }}</h1>
+
+<ul class="card third-color" id="navigation">
+{% for gallery in galleries %}
+    <li class="link fourth-color">
+        <a href="{{ gallery }}">{{ gallery }}</a>
+    </li>
+{% endfor %}
+</ul>
+{% endblock %}