* Start building out landing page in index file * Add articles * Add a couple more popular articles * Tweak intro to cover more audiences * Add TOC back with new organization * Update content/github/getting-started-with-github/index.md * Category as product guides section * Update breadcrumbs.js * Update server.js * Update product-landing.html * Remove TOC listing * Revert removing TOC * Update index.md * Update index.md * Update content/github/getting-started-with-github/index.md * Apply suggestions from code review Co-authored-by: Laura Coursen <lecoursen@github.com> Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com> Co-authored-by: Laura Coursen <lecoursen@github.com>
Layouts
The files in this directory are layouts which can be wrapped around pages.
See also includes, which are snippets of HTML or Markdown that can be reused in multiple layouts.
Using Layouts
Be default, layouts/default.html will be used for all pages.
To use a custom layout, add a layout value to the page's frontmatter:
---
title: Hello World
layout: some-layout
---
The example above will use the layouts/some-layout.html layout.
To render a page with no layout, set layout: false.
Writing Layouts
Layout files should have a .html or .md extension, and they
must include the string {{ content}} to specify where inner content should
be injected.