Week 7
Before Class: Learn
This week we will get more into Eleventy Templates and look at how they can be chained. With layout chaining you can do things like make a separate template file for your navigation or have templates for different page layouts.
We also learn more about how you can add your own CSS and ways to include images.
On Wednesday we will go into more detail about the midterm and final project and what you will need to do for your midterm presentations.
Do this before Monday
Watch
Watch this video on Layout Chaining
- Course Video : Layout Chaining [12m 13s]
When following along, make sure that you:
- Commit any changes you have to your files. This means you must save all of your files and then commit changes though Git. Do this before you change branches.
- Change to the 02_03b branch
- git checkout 02_03b
- Create your own version (optional but recommended)
- git checkout -b 02_03test
Here are some ideas that will come up to look out for:
- Data Cascade: how the files and data are processed as eleventy builds the page
- Bootstrap: he does some layout using Bootstrap classes. For now, just follow along. We may go into further detail about how Bootstrap works in general during our classes.
Related Links
Here are some related links from the videos:
Before Wednesday
Take a look at Monday again. And read these quotes:
If I had to live my life again, I’d make the same mistakes, only sooner.
– Tallulah Bankhead
Mistakes are the portals of discovery.
You don’t understand anything until you learn it more than one way
Marvin Minsky
“I can accept failure. Everyone fails at something. But I can’t accept not trying.“
— Michael Jordan
Live Sessions
Session 1: Layout Chaining
Monday, March 15 at 7:30p–9:10p
Monday we will look at how you can combine multiple templates to build pages.
Links for Monday Session
Session 2: Midterm Presentations
Wednesday, March 17 at 7:30p–9:10p
Wednesday we will look finish up with Layout Chaining and also look more at the Midterm/Final projects and your presentations.
Links for Wednesday Session
- Branch: 02_03b
- Miro Layout Chaining
- Midterm Presentation