Skip to content

Commit

Permalink
chg: [templates] Removed old about page. Added link to the documentat…
Browse files Browse the repository at this point in the history
…ion of the API in the footer.
  • Loading branch information
cedricbonhomme committed Nov 7, 2023
1 parent b62af7c commit 3bdd2bf
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 72 deletions.
66 changes: 0 additions & 66 deletions landing_page/templates/about.html

This file was deleted.

1 change: 0 additions & 1 deletion landing_page/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

urlpatterns = [
path("", views.index, name="index"),
path("about", views.about, name="about"),
path("health.json", views.health, name="health"),
path(
"robots.txt",
Expand Down
4 changes: 0 additions & 4 deletions landing_page/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ def index(request):
return render(request, "index.html")


def about(request):
return render(request, "about.html")


def health(request):
result: Dict[str, Any] = {
"python_version": "{}.{}.{}".format(*sys.version_info[:3]),
Expand Down
2 changes: 1 addition & 1 deletion templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<ul class="nav justify-content-center border-bottom pb-3 mb-3">
<li class="nav-item"><a href="/" class="nav-link px-2 text-muted">Home</a></li>
<li class="nav-item"><a href="{% url 'knowledge_base' %}" class="nav-link px-2 text-muted">Knowledge base</a></li>
<li class="nav-item"><a href="{% url 'swagger-ui' %}" class="nav-link px-2 text-muted">API documentation</a></li>
<li class="nav-item"><a href="{% url 'privacy' %}" class="nav-link px-2 text-muted">Privacy</a></li>
<li class="nav-item"><a href="{% url 'about' %}" class="nav-link px-2 text-muted">About</a></li>
<li class="nav-item"><a href="{% url 'contact' %}" class="nav-link px-2 text-muted">Contact</a></li>
</ul>
<p class="text-center text-white">
Expand Down

0 comments on commit 3bdd2bf

Please sign in to comment.