From 43234ca650c3b99507a1c7f60a3d231619b7c910 Mon Sep 17 00:00:00 2001 From: "Scott K. Fraley" Date: Wed, 15 May 2024 08:54:40 -0700 Subject: [PATCH] Update home.rst Fixed a couple of minor spelling errors, and most importantly, " "short_date": " was " "short_date: " (missing a close quote before the colon). --- docs/features/home.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/features/home.rst b/docs/features/home.rst index 5a9832e7..66a43257 100644 --- a/docs/features/home.rst +++ b/docs/features/home.rst @@ -19,9 +19,9 @@ Add blog apphook to the home page Amend configuration ******************* -Permalinks must be updated to avoid blog urlconf swallowing django CMS page patters. +Permalinks must be updated to avoid blog urlconf swallowing django CMS page patterns. -To avoid this add the following settings to you project: +To avoid this add the following settings to your project: .. code-block:: python @@ -32,14 +32,14 @@ To avoid this add the following settings to you project: ) BLOG_PERMALINK_URLS = { "full_date": "////", - "short_date: "///", + "short_date": "///", "category": "//", } Notice that the last permalink type is no longer present. Then, pick any of the three remaining permalink types in the layout section of the apphooks config -linked ot the home page (at http://yoursite.com/admin/djangocms_blog/blogconfig/).' +linked to the home page (at http://yoursite.com/admin/djangocms_blog/blogconfig/).' .. warning:: Version 1.2 introduce a breaking change as it drops ``url`` function in favour of ``path``. If you have customized the urls as documented above you **must** update the custom urlconf to path-based