mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +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
|
||||
highlight = true
|
||||
tags = []
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
+++
|
||||
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||
date = "{{ .Date }}"
|
||||
|
||||
# Tags: can be used for filtering projects.
|
||||
# Example: `tags = ["machine-learning", "deep-learning"]`
|
||||
tags = []
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
+++
|
||||
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||
date = "{{ .Date }}"
|
||||
|
||||
# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
|
||||
authors = [""]
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
+++
|
||||
title = ""
|
||||
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||
date = "{{ .Date }}"
|
||||
|
||||
abstract = ""
|
||||
abstract_short = ""
|
||||
event = ""
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue