-
Notifications
You must be signed in to change notification settings - Fork 692
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding template for new pages added at GitHub
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: "Long Page Title" | ||
linkTitle: "Short Nav Title" | ||
weight: 100 | ||
description: >- | ||
Page description for heading and indexes. | ||
--- | ||
|
||
<!-- | ||
In order to change the default frontmatter and the content for new pages, | ||
edit the template file `assets/stubs/new-page-template` of your project. | ||
--> | ||
|
||
## Heading | ||
|
||
Edit this template to create your new page. | ||
|
||
* Give it a good name, ending in `.md` - e.g. `getting-started.md` | ||
* Edit the "front matter" section at the top of the page (weight controls how its ordered amongst other pages in the same directory; lowest number first). | ||
* Add a good commit message at the bottom of the page (< 80 characters; use the extended description field for more detail). | ||
* Create a new branch so you can preview your new file and request a review via Pull Request. |