O'Reilly logo

Beginning django CMS by Nigel George

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 5

image

Your Blog Website: Templates

Now that you have a thorough grounding in how the django CMS templates are constructed, it is time to build the templates for your blog website. In this chapter, you will:

  1. Start with a fresh, empty install of django CMS.
  2. Create your own base.html template.
  3. Create a CSS file to apply custom styling to your blog.
  4. Create a new template, blogpage.html, that will display a single blog post along with a right sidebar menu listing all posts.
  5. Edit your setting file to apply the new templates to your blog site.

 Note  All of the source code in this chapter is available for download from the book’s website; however, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required