2
0

tutorial05.rst 1.3 KB

1234567891011121314151617181920212223242526272829
  1. Tutorial Part 5: Web Page
  2. =========================
  3. Another page type that you will use to build your site in the CMS is the **Web Page**.
  4. The Web Page is a general-purpose page type which contains a big dynamic
  5. StreamField enabling the editor to add grids, cards, and all kinds of content to
  6. the page dynamically without requiring code. Let's use a Web Page to make a page
  7. about our Mini Cupcakes.
  8. Go back to the admin where you can add a child page to the Home page. This time, choose
  9. Web Page. Building the page involves using the Layout blocks that we discussed earlier. Play
  10. around with the layout in the Content tab, adding different types of content. This is what we
  11. decided to do for our Mini Cupcakes page:
  12. .. figure:: img/tutorial_web_page_edit.png
  13. :alt: Editing our web page layout.
  14. The edit screen for our web page - You can design your layout how you like.
  15. Let's publish this page and see what it looks like:
  16. .. figure:: img/tutorial_web_page_published.png
  17. :alt: Our published web page.
  18. Our published web page.
  19. Wow! Our site is really coming together! We should finishing adding some of our other pages, like
  20. Cupcakes, Mini Cookies, and About Us. Take the time to make the rest of these pages and then add the
  21. updated page links in the Navigation Menu and in the Footer.