Build Blog With Wagtail CMS (4.0.0)
$23.99
Minimum price
$29.99
Suggested price

Build Blog With Wagtail CMS (4.0.0)

About the Book

Demo Link

This book will teach you how to build a modern blog with Wagtail CMS

By the end of this course, you will be able to:

  1. Understand Docker and use Docker Compose to do development
  2. Use python-webpack-boilerplate to jump start frontend project bundled by Webpack.
  3. Install Tailwind CSS as the style solution.
  4. Install Stimulus, understand how it works and write Stimulus controllers.
  5. Learn how Dark Mode works in Tailwind CSS and use Stimulus controller to toggle the dark mode.
  6. Understand the benefit of the healthy Stimulus ecosystem by reusing 3-party Stimulus controller.
  7. Create blog models to work with Wagtail.
  8. Use PDB and Django shell to debug, test code and check data in terminal.
  9. Learn to use RoutablePage and add Date to the post url.
  10. Build Pagination component and correctly handle querystring.
  11. Make the blog supports writing in Markdown and Latex.
  12. Create contact page using Wagtail FormBuilder
  13. Build menu, meta tags, sitemap, robots.txt for better SEO.
  14. Build comment system based on django-contrib-comments which support Generic Relations
  15. Use Tribute.jsAxios to add Mention and Emoji support to the comment form.
  16. Deploy the production app to DigitalOcean

Tech

  • Python 3.10
  • Django 4
  • Wagtail 4
  • Stimulus 3
  • Tailwind CSS 3

This book includes:

  1. A PDF ebook which contains about 30 chapters.
  2. 20+ screenshots and several diagrams, all created by me.

Changelog:

4.0.0 Released 2022-11-07

  1. Drop Bootstrap, and use Tailwind CSS as style solution.
  2. Use Stimulus to help write Javascript.
  3. Upgrade Django, Wagtail, update the screenshots.

3.0.0 Released 2021-08-23

  1. Upgrade Django, Wagtail, update the screenshots.
  2. Import python-webpack-boilerplate as frontend solution
  3. Upgrade Bootstrap 5, drop jQuery, write DOM related code with vanilla JavaScript

2.0.0 Released 2021-01-09

  1. Rewrite the book and source code, update the screenshots.
  2. Add content about docker-compose and docker
  3. Add content about the django-contrib-comments
  4. Add content about the Webpack

1.0.0 Released 2017-09-13

About the Author

MichaelYin
MichaelYin

Michael Yin is a full stack developer from China, and he loves to write high-quality tutorial about programming.

He has published 5 books on Leanpub.

He also published Celery courses on testdriven.io

He is also the founder of a Digital Agency AccordBox and available for remote job.

Bundles that include this book

$129.96
Bought separately
$60.00
Bundle Price

Table of Contents

  • 1. Introduction
  • 2. Create Wagtail Project
  • 3. Create Frontend App
  • 4. Dockerizing Wagtail App
  • 5. Add Blog Models to Wagtail
  • 6. Page Templates in Wagtail
  • 7. Build Page Layout with Tailwind CSS
  • 8. StreamField in Wagtail
  • 9. Routable Page
  • 10. Add Pagination Component
  • 11. Add Date to the PostPage URL
  • 12. Full Text Search
  • 13. Markdown Support
  • 14. Customize Markdown Renderer
  • 15. Build Flexible Form Page
  • 16. Menu Management
  • 17. Wagtail SEO Guide
  • 18. Stimulus Basic
  • 19. Dark Mode
  • 20. Tailwind Typography Dark Mode
  • 21. Carousel
  • 22. Comment Model
  • 23. Customize Django-Contrib-Comments
  • 24. Manage Comment in Wagtail
  • 25. Add Mention Support to Django Form with Tribute.js
  • 26. Add Emoji Support to Django Form with Tribute.js
  • 27. Deploy to DigitalOcean
  • 28. Next Steps
  • 29. Backend FAQ

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub