mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Anim Mouse
07.56.2020 d7b7d138c86bb3586feb76a11ffcd627d1439d9c
Update archetypes (#305)

* Update archetypes to YAML

* Remove deprecated metaDataFormat

* Add Newline at the end
2 files modified
17 ■■■■ changed files
archetypes/default.md 14 ●●●● patch | view | raw | blame | history
exampleSite/config.toml 3 ●●●● patch | view | raw | blame | history
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: ""
---
exampleSite/config.toml
@@ -4,7 +4,6 @@
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 @@
  # 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