Archetypes

Customize archetype templates for blog posts and default pages.

..
├── blog.md
└── default.md

See also the Hugo docs: Archetypes.

Customize archetypes

blog.md

---
title: "{{ replace .Name "-" " " | title }}"
description: ""
excerpt: ""
date: {{ .Date }}
lastmod: {{ .Date }}
draft: true
weight: 50
images: ["{{ .Name | urlize }}.jpg"]
categories: [""]
---

default.md

---
title: "{{ replace .Name "-" " " | title }}"
description: ""
date: {{ .Date }}
lastmod: {{ .Date }}
draft: true
images: []
---

Edit this page on GitHub