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 Schneider 30c2ec41f9
reference new include files in product-landing layout
4 years ago
..
3df90fc9b8
Hello git history spelunker!
4 years ago
8b6e1bed8b
Merge branch 'main' into add-button-for-scrolling-to-top
4 years ago
46c16001c3
Upgrade Primer with translation shim for trashcan icon (#18735)
4 years ago
cf886a385c
fix: enterprise server releases layout and mini toc contents
4 years ago
a017660a76
Include header/footer components across layout types (#18377)
4 years ago
a017660a76
Include header/footer components across layout types (#18377)
4 years ago
f160594a09
Enable set `AIRGAP` cookie to view Lunr search results (#18648)
4 years ago
30c2ec41f9
reference new include files in product-landing layout
4 years ago
46c16001c3
Upgrade Primer with translation shim for trashcan icon (#18735)
4 years ago
46c16001c3
Upgrade Primer with translation shim for trashcan icon (#18735)
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...