Support Hugo v0.24+ (#240)

* Require Hugo v0.24+ to support new archetype system
* Explicitly set `title` and `date` in archetypes
This commit is contained in:
C. Wu 2017-08-01 03:26:45 +02:00 committed by gcushen
commit 4859cbe36a
5 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,7 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
math = false
highlight = true
tags = []

View file

@ -1,4 +1,7 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
# Tags: can be used for filtering projects.
# Example: `tags = ["machine-learning", "deep-learning"]`
tags = []

View file

@ -1,4 +1,6 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
authors = [""]

View file

@ -1,5 +1,7 @@
+++
title = ""
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
abstract = ""
abstract_short = ""
event = ""

View file

@ -3,7 +3,7 @@ license = "MIT"
licenselink = "https://github.com/gcushen/hugo-academic/blob/master/LICENSE.md"
description = "Easily create beautifully simple academic or personal sites"
homepage = "https://github.com/gcushen/hugo-academic"
min_version = 0.18
min_version = 0.24
tags = ["academic",
"portfolio",
"responsive",