Add Photo model & templates

This commit is contained in:
Nyymix 2025-01-05 17:26:09 +02:00
parent 9a483b2a7f
commit f04beb3aaa
9 changed files with 123 additions and 11 deletions

View file

@ -0,0 +1,19 @@
{% extends "base.html" %}
<!-- Title -->
{% block title %} Gallery : Photo {% endblock %}
<!-- Breadcrumb -->
{% block breadcrumb %}
<li><a href="{% url 'gallery:albums_url' %}">Albums</a></li>
<li><a href="{{ photo.album.get_absolute_url }}">{{ photo.album.name }}</a></li>
<li>{{ photo.slug }}</li>
{% endblock %}
<!-- Content -->
{% block content %}
<h1>{{ photo.slug }}</h1>
{% endblock %}