Skip to content

Commit

Permalink
Default archetype updated: avoid warning
Browse files Browse the repository at this point in the history
Date param added to frontmatter to avoid warning with Hugo version 0.24.
Besides `title` is set up using the filename and draft param has been added by default.
  • Loading branch information
jose-oc authored Jul 12, 2017
1 parent 5869299 commit 7d9e12e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
+++
title = "Create Page"
title= "{{ replace .TranslationBaseName "-" " " | title }}"
date= {{ .Date }}
description = ""
draft= true
+++

Lorem Ipsum
Lorem Ipsum.
Notice `draft` is set to true.

0 comments on commit 7d9e12e

Please sign in to comment.