Re-introduce section IDs

We may have had these before, and they may have been removed because
of concerns that IDs must be unique that non-unique IDs would be
caught by Django-Tidy. Or maybe not, I can't remember.
main
Jaap Joris Vens 2022-12-25 00:25:13 +01:00
rodzic 80133f8aa1
commit ac49478bbb
4 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -1,5 +1,6 @@
{% load i18n cms %}
<section class="contact">
<section class="contact" id="{{section.title|slugify}}">
<div class="wrapper">
<div class="title">
<h1>{{section.title}}</h1>

Wyświetl plik

@ -1,6 +1,6 @@
{% load thumbnail i18n cms %}
<section class="images">
<section class="images" id="{{section.title|slugify}}">
<div class="images">
{% for image in section.images.all %}
<div class="image">

Wyświetl plik

@ -1,6 +1,6 @@
{% load i18n cms %}
<section class="text">
<section class="text" id="{{section.title|slugify}}">
<div class="wrapper">
<div class="title">
<h1>

Wyświetl plik

@ -1,6 +1,6 @@
{% load embed_video_tags i18n cms %}
<section class="video">
<section class="video" id="{{section.title|slugify}}">
{% if section.video %}
<div class="video">
<div class="iframe">