diff options
Diffstat (limited to 'templates/base.twig')
-rw-r--r-- | templates/base.twig | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/base.twig b/templates/base.twig new file mode 100644 index 0000000..a27b5d7 --- /dev/null +++ b/templates/base.twig @@ -0,0 +1,26 @@ +{% extends 'root.twig' %} + +{% block css %} + {{ parent() }} + <link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css"> + + <link rel="stylesheet" href="/css/style.css"/> +{% endblock %} + +{% block body %} + <header> + <nav> + <a href="/dashboard">Dashboard</a> + <a href="/card/list">Cards</a> + <a href="/card/add">New Card</a> + </nav> + <h1>Elements</h1> + <p>{% block subtitle %}{% endblock %}</p> + </header> + <main> + {% block main %}{% endblock %} + </main> + <footer> + visit <a href="https://gitlab.com/DRogueRonin/elements">Gitlab</a> + </footer> +{% endblock %} |