From d7b7d138c86bb3586feb76a11ffcd627d1439d9c Mon Sep 17 00:00:00 2001 From: Anim Mouse Date: Fri, 7 Aug 2020 20:56:08 +0800 Subject: [PATCH] Update archetypes (#305) * Update archetypes to YAML * Remove deprecated metaDataFormat * Add Newline at the end --- archetypes/default.md | 14 +++++++------- exampleSite/config.toml | 3 +-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/archetypes/default.md b/archetypes/default.md index df56f14..01392c0 100755 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,7 +1,7 @@ -+++ -title = "{{ replace .TranslationBaseName "-" " " | title }}" -date = {{ .Date }} -tags = [] -featured_image = "" -description = "" -+++ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +date: {{ .Date }} +tags: [] +featured_image: "" +description: "" +--- diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9f83574..e614c16 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -4,7 +4,6 @@ languageCode = "en-us" theme = "gohugo-theme-ananke" themesDir = "../.." -MetaDataFormat = "yaml" DefaultContentLanguage = "en" SectionPagesMenu = "main" 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-" background_color_class = "bg-black" featured_image = "/images/gohugo-default-sample-hero-image.jpg" - recent_posts_number = 2 + recent_posts_number = 2 \ No newline at end of file