diff options
author | 2020-11-28 10:06:35 +0200 | |
---|---|---|
committer | 2020-11-28 10:06:35 +0200 | |
commit | 0afa7f3eefc68c28aa6e75a59d8684075b6a74a7 (patch) | |
tree | 72231684eb6e3f36745d12fbbeb7990b799f1b07 /pydis_site/templates | |
parent | Update tests to match with recent unlimited subcategories changes (diff) |
Remove old templates
Diffstat (limited to 'pydis_site/templates')
-rw-r--r-- | pydis_site/templates/content/articles.html | 53 | ||||
-rw-r--r-- | pydis_site/templates/content/category.html | 44 |
2 files changed, 0 insertions, 97 deletions
diff --git a/pydis_site/templates/content/articles.html b/pydis_site/templates/content/articles.html deleted file mode 100644 index 68d23611..00000000 --- a/pydis_site/templates/content/articles.html +++ /dev/null @@ -1,53 +0,0 @@ -{% extends 'base/base.html' %} -{% load static %} - -{% block title %}Articles{% endblock %} -{% block head %} - <link rel="stylesheet" href="{% static "css/content/articles.css" %}"> -{% endblock %} - -{% block content %} - {% include "base/navbar.html" %} - - <section class="breadcrumb-section section"> - <div class="container"> - <nav class="breadcrumb is-pulled-left" aria-label="breadcrumbs"> - <ul> - <li class="is-active"><a href="{% url "content:articles" %}">Articles</a></li> - </ul> - </nav> - </div> - </section> - - <section class="section"> - <div class="container"> - <div class="content"> - <h1>Articles</h1> - {% for article, data in content.items %} - <div class="box" style="max-width: 800px;"> - <span class="icon is-size-4 is-medium"> - <i class="{{ data.icon_class|default:"fab" }} {{ data.icon|default:"fa-python" }} is-size-3 is-black has-icon-padding" aria-hidden="true"></i> - </span> - <a href="{{ article }}/"> - <span class="is-size-4 has-text-weight-bold">{{ data.title }}</span> - </a> - <p class="is-italic">{{ data.short_description }}</p> - </div> - {% endfor %} - {% for category, data in categories.items %} - <div class="box" style="max-width: 800px;"> - <span class="icon is-size-4 is-medium"> - <i class="fas fa-folder is-size-3 is-black has-icon-padding" aria-hidden="true"></i> - </span> - - - <a href="category/{{ category }}/"> - <span class="is-size-4 has-text-weight-bold">{{ data.name }}</span> - </a> - <p class="is-italic">{{ data.description }}</p> - </div> - {% endfor %} - </div> - </div> - </section> -{% endblock %} diff --git a/pydis_site/templates/content/category.html b/pydis_site/templates/content/category.html deleted file mode 100644 index 3e45c433..00000000 --- a/pydis_site/templates/content/category.html +++ /dev/null @@ -1,44 +0,0 @@ -{% extends 'base/base.html' %} -{% load static %} - -{% block title %}{{ category_info.name }}{% endblock %} -{% block head %} - <meta property="og:title" content="Python Discord - {{ category_info.name }}" /> - <meta property="og:type" content="website" /> - <meta property="og:description" content="{{ category_info.description }}" /> - <link rel="stylesheet" href="{% static "css/content/articles.css" %}"> -{% endblock %} - -{% block content %} - {% include "base/navbar.html" %} - - <section class="breadcrumb-section section"> - <div class="container"> - <nav class="breadcrumb is-pulled-left" aria-label="breadcrumbs"> - <ul> - <li><a href="{% url "content:articles" %}">Articles</a></li> - <li class="is-active"><a href="#">{{ category_info.name }}</a></li> - </ul> - </nav> - </div> - </section> - - <section class="section"> - <div class="container"> - <div class="content"> - <h1>{{ category_info.name }}</h1> - {% for article, data in content.items %} - <div class="box" style="max-width: 800px;"> - <span class="icon is-size-4 is-medium"> - <i class="{{ data.icon_class|default:"fab" }} {{ data.icon|default:"fa-python" }} is-size-3 is-black has-icon-padding" aria-hidden="true"></i> - </span> - <a href="/articles/category/{{ category_name }}/{{ article }}/"> - <span class="is-size-4 has-text-weight-bold">{{ data.title }}</span> - </a> - <p class="is-italic">{{ data.short_description }}</p> - </div> - {% endfor %} - </div> - </div> - </section> -{% endblock %} |