Update archetypes (#305)

* Update archetypes to YAML

* Remove deprecated metaDataFormat

* Add Newline at the end
This commit is contained in:
Anim Mouse 2020-08-07 20:56:08 +08:00 committed by GitHub
parent 5e250268bd
commit d7b7d138c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View file

@ -1,7 +1,7 @@
+++ ---
title = "{{ replace .TranslationBaseName "-" " " | title }}" title: "{{ replace .TranslationBaseName "-" " " | title }}"
date = {{ .Date }} date: {{ .Date }}
tags = [] tags: []
featured_image = "" featured_image: ""
description = "" description: ""
+++ ---

View file

@ -4,7 +4,6 @@ languageCode = "en-us"
theme = "gohugo-theme-ananke" theme = "gohugo-theme-ananke"
themesDir = "../.." themesDir = "../.."
MetaDataFormat = "yaml"
DefaultContentLanguage = "en" DefaultContentLanguage = "en"
SectionPagesMenu = "main" SectionPagesMenu = "main"
Paginate = 3 # this is set low for demonstrating with dummy content. Set to a higher number Paginate = 3 # this is set low for demonstrating with dummy content. Set to a higher number
@ -34,4 +33,4 @@ enableRobotsTXT = true
# choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-" # choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-"
background_color_class = "bg-black" background_color_class = "bg-black"
featured_image = "/images/gohugo-default-sample-hero-image.jpg" featured_image = "/images/gohugo-default-sample-hero-image.jpg"
recent_posts_number = 2 recent_posts_number = 2