Summary

The process of reviewing HTML mockups in preparation to convert it into a Drupal 8 theme takes time and patience. We need to make sure that we explore a website in great detail to spot possible layouts, regions, and user interactions that may require custom JavaScript and libraries. In this lesson, we accomplished the following:

  • We broke down our HTML mockup page by page to enable us to better define what regions, layouts, and libraries we may need to create and configure for Drupal 8
  • Having a clear starting point for everyone to begin theming from is important, and we used the database snapshots to ensure that we didn't have to work through the tedious process of entering content
  • Finally, we began configuring our new theme by setting up our octo.info.yml file with regions and references to asset libraries that we set up within our octo.libraries.yml file

In the next chapter, we will dive into setting up our homepage layout to match the homepage of our mockup. We will begin creating Twig templates for our HTML wrapper and homepage as well as work further with libraries and assets.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.175.253