diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..72bca69 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,26 @@ + + + + + + {% block title %} Evie / eviee / uwueviee - {{ title }}{% endblock %} + + + + + + +

🐈 Evie / eviee / uwueviee

+ + {% block menus %}{% endblock %} + +
+ +
+ {% block content %}{% endblock %} +
+ +
+ + + \ No newline at end of file diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..6ad084c --- /dev/null +++ b/templates/page.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} + +{% block title %}{{ title }}{% endblock %} + +{% block description %} + {% match description %} + {% when Some with (description_content) %} + {{ description_content }} + {% when None %} + A page on eviee.gay + {% endmatch %} +{% endblock %} + +{% block content %} + + {% if show_title == true -%} +

{{ title }}

+ {% endif -%} + + {% for block in blocks %} +

block is real

+ {% endfor %} + +{% endblock %} diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..7ee429b --- /dev/null +++ b/templates/post.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} + +{% block title %}{{ title }}{% endblock %} + +{% block description %} + {% match summary %} + {% when Some with (summary_content) %} + {{ summary_content }} + {% when None %} + A post on eviee.gay + {% endmatch %} +{% endblock %} + +{% block content %} +

{{ title }}

+ {% match summary %} + {% when Some with (summary_content) %} +

{{ summary_content }}

+ {% when None %} + {% endmatch %} + {% match last_updated %} + {% when Some with (last_updated_date) %} +

Published: {{ publish_date }} | Last updated: {{ last_updated_date }}

+ {% when None %} +

Published: {{ publish_date }}

+ {% endmatch %} + +
+ + {% for block in blocks %} +

block is real

+ {% endfor %} + +
+ + Comments are W.I.P +{% endblock %}