diff options
author | 2020-10-06 16:18:11 +0300 | |
---|---|---|
committer | 2020-10-06 16:30:10 +0300 | |
commit | d6a56e63ae64b2e3df40a9a4468289456b2182dc (patch) | |
tree | 70dc56c22be831110eec82eb16646c69ff9da172 /pydis_site/templates | |
parent | Merge branch 'dewikification' into guides-app (diff) |
Rename content -> articles for visual part
Diffstat (limited to 'pydis_site/templates')
-rw-r--r-- | pydis_site/templates/content/article.html | 6 | ||||
-rw-r--r-- | pydis_site/templates/content/articles.html | 4 | ||||
-rw-r--r-- | pydis_site/templates/content/category.html | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/pydis_site/templates/content/article.html b/pydis_site/templates/content/article.html index c340cdf6..5e090050 100644 --- a/pydis_site/templates/content/article.html +++ b/pydis_site/templates/content/article.html @@ -3,7 +3,7 @@ {% block title %}{{ article.metadata.title }}{% endblock %} {% block head %} - <meta property="og:title" content="Python Discord - {{ article.metadata.title|first }}" /> + <meta property="og:title" content="Python Discord - {{ article.metadata.title }}" /> <meta property="og:type" content="website" /> <meta property="og:description" content="{{ article.metadata.short_description }}" /> <link rel="stylesheet" href="{% static "css/content/articles.css" %}"> @@ -19,9 +19,9 @@ <div class="container"> <nav class="breadcrumb is-pulled-left" aria-label="breadcrumbs"> <ul> - <li><a href="/content">Pages</a></li> + <li><a href="/articles">Articles</a></li> {% if category_data.raw_name is not None %} - <li><a href="/content/category/{{ category_data.raw_name }}">{{ category_data.name }}</a></li> + <li><a href="/articles/category/{{ category_data.raw_name }}">{{ category_data.name }}</a></li> {% endif %} <li class="is-active"><a href="#">{{ article.metadata.title }}</a></li> </ul> diff --git a/pydis_site/templates/content/articles.html b/pydis_site/templates/content/articles.html index 35e5db16..47614541 100644 --- a/pydis_site/templates/content/articles.html +++ b/pydis_site/templates/content/articles.html @@ -1,7 +1,7 @@ {% extends 'base/base.html' %} {% load static %} -{% block title %}Guides{% endblock %} +{% block title %}Articles{% endblock %} {% block head %} <link rel="stylesheet" href="{% static "css/content/articles.css" %}"> {% endblock %} @@ -13,7 +13,7 @@ <div class="container"> <nav class="breadcrumb is-pulled-left" aria-label="breadcrumbs"> <ul> - <li class="is-active"><a href="/content">Pages</a></li> + <li class="is-active"><a href="/articles">Articles</a></li> </ul> </nav> </div> diff --git a/pydis_site/templates/content/category.html b/pydis_site/templates/content/category.html index 3dec9259..e3713927 100644 --- a/pydis_site/templates/content/category.html +++ b/pydis_site/templates/content/category.html @@ -16,7 +16,7 @@ <div class="container"> <nav class="breadcrumb is-pulled-left" aria-label="breadcrumbs"> <ul> - <li><a href="/content">Pages</a></li> + <li><a href="/articles">Articles</a></li> <li class="is-active"><a href="#">{{ category_info.name }}</a></li> </ul> </nav> @@ -32,7 +32,7 @@ <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="/content/category/{{ category_name }}/{{ article }}/"> + <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> |