add: поле updated_at (Дата обновления) в модели +миграции, админке, блогах, страницах и sitemaps.xml

This commit is contained in:
2026-02-11 16:26:09 +03:00
parent e9868c3413
commit 1573265667
6 changed files with 36 additions and 5 deletions

View File

@@ -23,7 +23,7 @@
}
},
"datePublished": "{{ page.published_at|date:'Y-m-d' }}",
"dateModified": "{{ page.published_at|date:'Y-m-d' }}"
"dateModified": "{{ page.updated_at|date:'Y-m-d' }}"
}
</script>{% endblock %}

View File

@@ -27,7 +27,7 @@
}
},
"datePublished": "{{ post.published_at|date:'Y-m-d' }}",
"dateModified": "{{ post.published_at|date:'Y-m-d' }}"
"dateModified": "{{ post.updated_at|date:'Y-m-d' }}"
}
</script>{% endblock %}