mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'
This commit is contained in:
6
docs/archetypes/default.md
Normal file
6
docs/archetypes/default.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: {{ replace .File.ContentBaseName "-" " " | strings.FirstUpper }}
|
||||
description:
|
||||
categories: []
|
||||
keywords: []
|
||||
---
|
@@ -3,9 +3,9 @@ title: {{ replace .File.ContentBaseName "-" " " | title }}
|
||||
description:
|
||||
categories: []
|
||||
keywords: []
|
||||
action:
|
||||
aliases: []
|
||||
related: []
|
||||
returnType:
|
||||
signatures: []
|
||||
params:
|
||||
functions_and_methods:
|
||||
aliases: []
|
||||
returnType:
|
||||
signatures: []
|
||||
---
|
||||
|
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: {{ replace .File.ContentBaseName "-" " " }}
|
||||
reference:
|
||||
params:
|
||||
reference:
|
||||
---
|
||||
|
||||
<!--
|
||||
|
@@ -3,8 +3,8 @@ title: {{ replace .File.ContentBaseName "-" " " | title }}
|
||||
description:
|
||||
categories: []
|
||||
keywords: []
|
||||
action:
|
||||
related: []
|
||||
returnType:
|
||||
signatures: []
|
||||
params:
|
||||
functions_and_methods:
|
||||
returnType:
|
||||
signatures: []
|
||||
---
|
||||
|
7
docs/archetypes/news.md
Normal file
7
docs/archetypes/news.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: {{ replace .File.ContentBaseName "-" " " | strings.FirstUpper }}
|
||||
description:
|
||||
categories: []
|
||||
keywords: []
|
||||
publishDate: {{ .Date }}
|
||||
---
|
@@ -1,5 +0,0 @@
|
||||
---
|
||||
title: {{ replace .File.ContentBaseName "-" " " | title }}
|
||||
description:
|
||||
date: {{ .Date }}
|
||||
---
|
@@ -1,7 +0,0 @@
|
||||
|
||||
Add some **general info** about {{ replace .Name "-" " " | title }} here.
|
||||
|
||||
The site is built by:
|
||||
|
||||
* [Person 1](https://example.org)
|
||||
* [Person 1](https://example.org)
|
Binary file not shown.
Before Width: | Height: | Size: 40 KiB |
@@ -1,36 +0,0 @@
|
||||
---
|
||||
|
||||
title: {{ replace .File.ContentBaseName "-" " " | title }}
|
||||
date: {{ now.Format "2006-01-02" }}
|
||||
|
||||
description: A short description of this page.
|
||||
|
||||
# The URL to the site on the internet.
|
||||
siteURL: https://gohugo.io/
|
||||
|
||||
# Link to the site's Hugo source code if public and you can/want to share.
|
||||
# Remove or leave blank if not needed/wanted.
|
||||
siteSource: https://github.com/gohugoio/hugoDocs
|
||||
|
||||
# Add credit to the article author. Leave blank or remove if not needed/wanted.
|
||||
byline: "[bep](https://github.com/bep), Hugo Lead"
|
||||
|
||||
---
|
||||
|
||||
To complete this showcase:
|
||||
|
||||
1. Write the story about your site in this file.
|
||||
2. Add a summary to the `bio.md` file in this directory.
|
||||
3. Replace the `featured-template.png` with a screenshot of your site. You can rename it, but it must contain the word `featured`.
|
||||
4. Create a new pull request in https://github.com/gohugoio/hugoDocs/pulls
|
||||
|
||||
The content of this bundle explained:
|
||||
|
||||
index.md
|
||||
: The main content file. Fill in required front matter metadata and write your story. I does not have to be a novel. It can even be self-promotional, but it should include Hugo in some form.
|
||||
|
||||
bio.md
|
||||
: A short summary of the website. Site credits (who built it) fits nicely here.
|
||||
|
||||
featured.png
|
||||
: A reasonably sized screenshot of your website. It can be named anything, but the name must start with "featured". The sample image is `1500x750` (2:1 aspect ratio).
|
Reference in New Issue
Block a user