diff --git a/alchemy/templates/base.html b/alchemy/templates/base.html new file mode 100644 index 0000000..9d06a29 --- /dev/null +++ b/alchemy/templates/base.html @@ -0,0 +1,56 @@ + + + + {% block head_meta %} + + + {% if article and article.author %} + + + {% endif %} + {% endblock %} + {% block title %}{{ SITENAME|striptags }}{% endblock %} + {% block head_link %} + + + {%if USE_FAVICON %} + + + + + + + + {% endif %} + {% if FEED_ATOM %} + + {% endif %} + {% if FEED_RSS %} + + {% endif %} + {% endblock %} + {% block head_script %} + {# HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries #} + + {% endblock %} + + + Skip to main content +
+ {% include "header.html" %} +
+
+ {% block content %}{% endblock %} +
+
+
+ {% include "footer.html" %} + {% block script %} + + + {% endblock %} + + diff --git a/alchemy/templates/footer.html b/alchemy/templates/footer.html new file mode 100644 index 0000000..75c6df9 --- /dev/null +++ b/alchemy/templates/footer.html @@ -0,0 +1,5 @@ + diff --git a/alchemy/templates/header.html b/alchemy/templates/header.html new file mode 100644 index 0000000..38b2c60 --- /dev/null +++ b/alchemy/templates/header.html @@ -0,0 +1,11 @@ + diff --git a/alchemy/templates/index.html b/alchemy/templates/index.html new file mode 100644 index 0000000..91a3903 --- /dev/null +++ b/alchemy/templates/index.html @@ -0,0 +1,48 @@ +{% extends "base.html" %} + +{% block title %} + {{ super() }} +{% endblock %} + +{% block content %} +
+ {% block content_title %} +

All Articles

+ {% endblock %} + + {% include 'pagination.html' %} +
+{% endblock content %} diff --git a/alchemy/templates/pagination.html b/alchemy/templates/pagination.html new file mode 100644 index 0000000..f1caf97 --- /dev/null +++ b/alchemy/templates/pagination.html @@ -0,0 +1,11 @@ +{% if DEFAULT_PAGINATION %} + +{% endif %}