Browse Source

Update archetypes (#305)

* Update archetypes to YAML

* Remove deprecated metaDataFormat

* Add Newline at the end
tags/v2.6.3
Anim Mouse 4 years ago
parent
commit
d7b7d138c8
No account linked to committer's email address
2 changed files with 8 additions and 9 deletions
  1. 7
    7
      archetypes/default.md
  2. 1
    2
      exampleSite/config.toml

+ 7
- 7
archetypes/default.md View File

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

+ 1
- 2
exampleSite/config.toml View File

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
# 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

Loading…
Cancel
Save