add newsletter example

This commit is contained in:
Reorx 2022-09-08 23:36:02 +08:00
parent cf1605c75e
commit 2dd6ff7b0a
4 changed files with 28 additions and 0 deletions

View File

@ -130,6 +130,9 @@ languages:
- name: Docs
url: /docs/
weight: 1
- name: Newsletter
url: /newsletter/
weight: 1
- name: Tags
url: /tags/
weight: 4

View File

@ -0,0 +1,7 @@
---
title: "My Newsletter: Hello World"
date: 2022-09-07
issueno: "001"
---
Welcome to PaperModX.

View File

@ -0,0 +1,13 @@
---
title: My Newsletter
subtitle: What do you want to write?
description: |
This is the template for creating a newsletter in PaperModX.
type: newsletter
cascade:
- _target:
kind: page
type: newsletter
titlePrefix: "My Newsletter: "
newsletterName: "My Newsletter"
---

View File

@ -0,0 +1,5 @@
---
title: "My Newsletter Archives"
layout: archives
hidden: true
---