Jean-Francois T.
Jean-Francois T.

Reputation: 12940

Asciidoc archetype for Hugo

I just started to use Hugo and I want to use it with Asciidoc.

The default "archetype" (i.e. template) is in markdown (default.md). Anyone knows how to get an archetype for Asciidoc?

In particular, shall I rename to default.adoc?

This is how the default archetype looks like.

default.md

---
title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
draft: true
---

Upvotes: 1

Views: 445

Answers (1)

Jean-Francois T.
Jean-Francois T.

Reputation: 12940

It shall be kept as default.md.

This only represents the font-matter that will be on top of the files and is not linked to any type (i.e. MarkDown or AsciiDoc, it will be the same).

Upvotes: 1

Related Questions