Permalink
Browse files

Improve archetypes (#265)

* Support Hugo 0.24+ in default and home types
* Comment and tidy
  • Loading branch information...
gcushen committed Sep 10, 2017
1 parent fd713f1 commit 779e5d830b01aff47a0e2774602d6cd2482e9202
Showing with 37 additions and 10 deletions.
  1. +15 −0 archetypes/default.md
  2. +3 −0 archetypes/home.md
  3. +7 −4 archetypes/post.md
  4. +4 −2 archetypes/project.md
  5. +4 −2 archetypes/publication.md
  6. +4 −2 archetypes/talk.md
View
@@ -1,2 +1,17 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = {{ .Date }}
draft = false
# Tags and categories
# For example, use `tags = []` for no tags, or the form `tags = ["A Tag", "Another Tag"]` for one or more tags.
tags = []
categories = []
# Featured image
# Place your image in the `static/img/` folder and reference its filename below, e.g. `image = "example.jpg"`.
[header]
image = ""
caption = ""
+++
View
@@ -1,4 +1,7 @@
+++
date = {{ .Date }}
draft = true
subtitle = ""
# Order that this section will appear in.
View
@@ -1,12 +1,15 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
date = {{ .Date }}
draft = false
math = false
highlight = true
# Tags and categories
# For example, use `tags = []` for no tags, or the form `tags = ["A Tag", "Another Tag"]` for one or more tags.
tags = []
categories = []
# Optional featured image (relative to `static/img/` folder).
# Featured image
# Place your image in the `static/img/` folder and reference its filename below, e.g. `image = "example.jpg"`.
[header]
image = ""
caption = ""
View
@@ -1,6 +1,7 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
date = {{ .Date }}
draft = false
# Tags: can be used for filtering projects.
# Example: `tags = ["machine-learning", "deep-learning"]`
@@ -21,7 +22,8 @@ math = false
# Does the project detail page use source code highlighting?
highlight = true
# Optional featured image (relative to `static/img/` folder).
# Featured image
# Place your image in the `static/img/` folder and reference its filename below, e.g. `image = "example.jpg"`.
[header]
image = ""
caption = ""
@@ -1,6 +1,7 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
date = {{ .Date }}
draft = false
# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
authors = [""]
@@ -44,7 +45,8 @@ url_project = ""
url_slides = ""
url_video = ""
# Optional featured image (relative to `static/img/` folder).
# Featured image
# Place your image in the `static/img/` folder and reference its filename below, e.g. `image = "example.jpg"`.
[header]
image = ""
caption = ""
View
@@ -1,6 +1,7 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = "{{ .Date }}"
date = {{ .Date }}
draft = false
abstract = ""
abstract_short = ""
@@ -16,7 +17,8 @@ url_pdf = ""
url_slides = ""
url_video = ""
# Optional featured image (relative to `static/img/` folder).
# Featured image
# Place your image in the `static/img/` folder and reference its filename below, e.g. `image = "example.jpg"`.
[header]
image = ""
caption = ""

0 comments on commit 779e5d8

Please sign in to comment.