Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding template for new pages added at GitHub #237

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions assets/stubs/new-page-template.md
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.