Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Sarah Edwards 9344d3ed9a
Landing pages only shows "view all" and "expore all" buttons if a guides page exists (#19914)
4 years ago
..
3df90fc9b8
Hello git history spelunker!
4 years ago
08ec46d0d1
Render color mode settings from github/github cookie (#19275)
4 years ago
08ec46d0d1
Render color mode settings from github/github cookie (#19275)
4 years ago
08ec46d0d1
Render color mode settings from github/github cookie (#19275)
4 years ago
08ec46d0d1
Render color mode settings from github/github cookie (#19275)
4 years ago
08ec46d0d1
Render color mode settings from github/github cookie (#19275)
4 years ago
9344d3ed9a
Landing pages only shows "view all" and "expore all" buttons if a guides page exists (#19914)
4 years ago
08ec46d0d1
Render color mode settings from github/github cookie (#19275)
4 years ago
ff718d7fc1
Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes
4 years ago

README.md

You have to be logged in to leave a comment. Sign In

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.

Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...