1.2 KiB
+++ title = "Mysql8" date = "2025-05-31T14:28:57+08:00" #dateFormat = "2006-01-02" # This value can be configured for per-post date formatting author = "suguo" authorTwitter = "" #do not include @ cover = "" tags = ["mysql", ""] keywords = ["mysql", "mysql8"] description = "" showFullContent = false readingTime = true hideComments = false +++
Include content Although typically used as a front matter template, you can also use an archetype to populate content.
For example, in a documentation site you might have a section (content type) for functions. Every page within this section should follow the same format: a brief description, the function signature, examples, and notes. We can pre-populate the page to remind content authors of the standard format.
date: '{{ .Date }}'
draft: true
title: '{{ replace .File.ContentBaseName - | title }}'
A brief description of what the function does, using simple present tense in the third person singular form. For example:
someFunction returns the string s repeated n times.
Signature
func someFunction(s string, n int) string
Examples
One or more practical examples, each within a fenced code block.
Notes
Additional information to clarify as needed.