jekyll_website_overhaul
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| jekyll_website_overhaul [2019/09/12 00:16] – tell | jekyll_website_overhaul [2019/09/12 00:40] (current) – [The Home Page is Special] tell | ||
|---|---|---|---|
| Line 71: | Line 71: | ||
| Page layouts are done with templates in the '' | Page layouts are done with templates in the '' | ||
| - | Here's ' | + | Here' |
| <code html> | <code html> | ||
| Line 96: | Line 96: | ||
| </ | </ | ||
| - | The best thing about these layout templates is that they' | + | The best thing about these layout templates is that they' |
| Some of the things we see in there are the include statements for head, nav, and end; they look like | Some of the things we see in there are the include statements for head, nav, and end; they look like | ||
| '' | '' | ||
| - | There' | + | There' |
| content for the page. | content for the page. | ||
| Line 131: | Line 131: | ||
| + | ====== The Home Page is Special ====== | ||
| + | The main home landing page is special: it doesn' | ||
| + | '' | ||
| + | The text in the card comes from the to level '' | ||
| + | We actually could just put the whole thing into a single html file in the github repo, but breaking it up this way is useful for several reasons: | ||
| + | * we can reuse this layout if we want. | ||
| + | * the text can still be edited in its own markdown file, even by someone who doesn' | ||
| + | * an opportunity to learn more jekyll | ||
| + | '' | ||
| + | <code html> | ||
| + | < | ||
| + | <html lang=" | ||
| + | < | ||
| + | {% include head.html %} | ||
| + | < | ||
| + | {% include css/ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | <div id=" | ||
| + | {% include nav.html %} | ||
| + | <div id=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | {{ content }} | ||
| + | </ | ||
| + | </ | ||
| + | <hr> | ||
| + | {% include footer.html %} | ||
| + | </ | ||
| + | {% include end.html %} | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| - | + | TODO get this page up too. | |
jekyll_website_overhaul.1568261808.txt.gz · Last modified: 2019/09/12 00:16 by tell
