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 authored and gcushen committed 2017-08-01 02:26:45 +01:00
1 parent 1f69fa61f5
commit 4859cbe36a
5 files changed
+12 -2

No files matched your search

+3
View File
@@ -1,4 +1,7 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
math = false
highlight = true
tags = []
+3
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 = []
+2
View File
@@ -1,4 +1,6 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
authors = [""]
+3 -1
View File
@@ -1,5 +1,7 @@
+++
title = ""
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
abstract = ""
abstract_short = ""
event = ""
+1 -1
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",