We now have a clean, functional blog, but you might have noticed that our current implementation does not reflect the theme, exactly. Let’s complete these last parts, together. 

To do this, we’ll need to:

  • Set up our Home to display the four latest blog entries
  • Configure the blog detail view to display an attractive header

Open your website, navigate to your “Home” page in the dashboard and make sure you are in Edit View by clicking on “Edit page.” 

Next, click “Page.” Then, click “Page settings…,” rename the Title to “About” and adapt the Slug to “about.” Hit “Save” and finalise your changes by clicking “Publish changes.”

After publishing, click on “Page,” select “Create Page” and choose “Duplicate this Page.” Then, set the title to “Home.”

Press “Save” again, switch to Edit View by clicking “Edit page,” and then click “Publish page now.”

Finally, make sure that the home page is positioned as the first page in your menu. You can do this by clicking on the first menu in the toolbar next to the django CMS logo (with the name of your Project), then “Pages” and dragging and dropping “Home” to the first spot.

The navigation will be updated immediately and won’t need publishing.

Make sure that you are in Edit Mode on the home page, then click on “Structure” and remove all plugins within the “Content” placeholder by selecting “Empty all”, so we can add new plugins:

Click on the “+” icon in the “Content” area and search for “Latest Articles.” Add this plugin and choose to display the four latest articles in the options:

Hit "Save".

The plugin will now pull your four most recent blog articles and display them, automatically. Now publish your changes by clicking “Publish page changes.”

___

Applications vs. Plugins
Applications such as “Aldryn News & Blog” define various plugins that can be used across your website. These plugins reuse the data defined in your blog articles and are used to display information such as latest articles, authors or defined tags. Different applications provide different plugins.
___

Did this answer your question?