blob: c4fdd95eb0158f2c8636892a5ca8038c8153397b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
---
# This is the contents of the `tpl/new-template.md` file. You're likely seeing
# This because you've created a new page, or are trying to edit a page that
# does not exist. To save yourself some confusion in the future, if you save
# This page it may be helpful to delete this first paragraph, as it will no
# longer be true.
# This top section is YAML, this sets up a few of the variables for rendering
# a web page. Below is also some markdown that's executed as a go template
# for the page's content
# You can edit this page by editing `tpl/new-template` If you changed the
# template directory, take that into account.
# Controls whether or not the page is published, this includes the
# Atom/RSS feed
published: false
# What tags should be applied to this page?
# The default index/home page shows a list of published blog pages
tags:
Blog:
# This is the meta description, i.e. what you're going to seeing the little blurb
# if you post the link to in say a discord chat. It's also what shows up in
# Google and other search engines
description: >-
This is an example description. Note that the line starts with spaces, and
not tabs.
title: New page from `new-template`
# Used for the RSS/Atom feed, you can also use it in the template below
date: 09.11.2022 09:59:00 EDT
# This line tells our server to stop parsing yaml and start processing
# the rest of the text file as a markdown template
|---
{{/* This is a comment inside of the template */}}
{{/*
Print out the date, format information can be found here:
https://pkg.go.dev/time#pkg-constants
*/}}
`{{.Date.Time.Format "Monday January 2 2006"}}`
# {{.Title}}
Some documentation on the templating language can be found [here](
https://pkg.go.dev/text/template)
A nice markdown reference can be found
[here](https://www.markdownguide.org/basic-syntax/)
Additionally <span style="color: red;">html tags</span> can be used in here as well.
|