mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
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:
parent
1f69fa61f5
commit
4859cbe36a
5 changed files with 12 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
||||||
+++
|
+++
|
||||||
|
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||||
|
date = "{{ .Date }}"
|
||||||
|
|
||||||
math = false
|
math = false
|
||||||
highlight = true
|
highlight = true
|
||||||
tags = []
|
tags = []
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
+++
|
+++
|
||||||
|
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||||
|
date = "{{ .Date }}"
|
||||||
|
|
||||||
# Tags: can be used for filtering projects.
|
# Tags: can be used for filtering projects.
|
||||||
# Example: `tags = ["machine-learning", "deep-learning"]`
|
# Example: `tags = ["machine-learning", "deep-learning"]`
|
||||||
tags = []
|
tags = []
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
+++
|
+++
|
||||||
|
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||||
|
date = "{{ .Date }}"
|
||||||
|
|
||||||
# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
|
# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
|
||||||
authors = [""]
|
authors = [""]
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
+++
|
+++
|
||||||
title = ""
|
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||||
|
date = "{{ .Date }}"
|
||||||
|
|
||||||
abstract = ""
|
abstract = ""
|
||||||
abstract_short = ""
|
abstract_short = ""
|
||||||
event = ""
|
event = ""
|
||||||
|
|
|
@ -3,7 +3,7 @@ license = "MIT"
|
||||||
licenselink = "https://github.com/gcushen/hugo-academic/blob/master/LICENSE.md"
|
licenselink = "https://github.com/gcushen/hugo-academic/blob/master/LICENSE.md"
|
||||||
description = "Easily create beautifully simple academic or personal sites"
|
description = "Easily create beautifully simple academic or personal sites"
|
||||||
homepage = "https://github.com/gcushen/hugo-academic"
|
homepage = "https://github.com/gcushen/hugo-academic"
|
||||||
min_version = 0.18
|
min_version = 0.24
|
||||||
tags = ["academic",
|
tags = ["academic",
|
||||||
"portfolio",
|
"portfolio",
|
||||||
"responsive",
|
"responsive",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue