Skip to content

Commit

Permalink
Adding template for new pages added at GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Oct 31, 2024
1 parent 2ec62d1 commit 84f5357
Showing 1 changed file with 21 additions and 0 deletions.
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.

0 comments on commit 84f5357

Please sign in to comment.