Build Blog With Wagtail CMS (4.0.0)
Build Blog With Wagtail CMS (4.0.0)
About the Book
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:
- Understand
Dockerand useDocker Composeto do development - Use
python-webpack-boilerplateto jump start frontend project bundled by Webpack. - Install
Tailwind CSSas the style solution. - Install
Stimulus, understand how it works and write Stimulus controllers. - Learn how
Dark Modeworks in Tailwind CSS and use Stimulus controller to toggle the dark mode. - Understand the benefit of the healthy Stimulus ecosystem by reusing 3-party Stimulus controller.
- Create blog models to work with Wagtail.
- Use
PDBandDjango shellto debug, test code and check data in terminal. - Learn to use
RoutablePageand addDateto the post url. - Build
Paginationcomponent and correctly handle querystring. - Make the blog supports writing in
MarkdownandLatex. - Create contact page using Wagtail
FormBuilder - Build menu, meta tags, sitemap, robots.txt for better SEO.
- Build comment system based on
django-contrib-commentswhich supportGeneric Relations - Use
Tribute.js,Axiosto addMentionandEmojisupport to the comment form. - Deploy the production app to DigitalOcean
Tech
- Python 3.10
- Django 4
- Wagtail 4
- Stimulus 3
- Tailwind CSS 3
This book includes:
- A PDF ebook which contains about 30 chapters.
- 20+ screenshots and several diagrams, all created by me.
Changelog:
4.0.0 Released 2022-11-07
- Drop Bootstrap, and use Tailwind CSS as style solution.
- Use Stimulus to help write Javascript.
- Upgrade Django, Wagtail, update the screenshots.
3.0.0 Released 2021-08-23
- Upgrade Django, Wagtail, update the screenshots.
- Import
python-webpack-boilerplateas frontend solution - Upgrade Bootstrap 5, drop jQuery, write DOM related code with vanilla JavaScript
2.0.0 Released 2021-01-09
- Rewrite the book and source code, update the screenshots.
- Add content about docker-compose and docker
- Add content about the django-contrib-comments
- Add content about the Webpack
1.0.0 Released 2017-09-13
Bundles that include this book
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 $14 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
