foo: "bar"
Above form is more conventional than:
foo : "bar"
Fixes https://github.com/kaushalmodi/ox-hugo/issues/120
master
parent
c1b355c3eb
commit
dd751cd054
12 changed files with 105 additions and 105 deletions
@ -1,12 +1,12 @@ |
||||
--- |
||||
title : "Custom front matter with list values in YAML" |
||||
tags : ["custom-fm", "list-values"] |
||||
draft : false |
||||
animals : ["dog", "cat", "penguin", "mountain gorilla"] |
||||
strings-symbols : ["abc", "def", "two words"] |
||||
integers : [123, -5, 17, 1_234] |
||||
floats : [12.3, -5.0, -1.7e-05] |
||||
booleans : [true, false] |
||||
title: "Custom front matter with list values in YAML" |
||||
tags: ["custom-fm", "list-values"] |
||||
draft: false |
||||
animals: ["dog", "cat", "penguin", "mountain gorilla"] |
||||
strings-symbols: ["abc", "def", "two words"] |
||||
integers: [123, -5, 17, 1_234] |
||||
floats: [12.3, -5.0, -1.7e-05] |
||||
booleans: [true, false] |
||||
--- |
||||
|
||||
[Issue # 99](https://github.com/kaushalmodi/ox-hugo/issues/99) |
||||
|
||||
@ -1,13 +1,13 @@ |
||||
--- |
||||
title : "Multi-line description set using Org Special Block (YAML)" |
||||
description : > |
||||
title: "Multi-line description set using Org Special Block (YAML)" |
||||
description: > |
||||
Short description |
||||
of this post |
||||
|
||||
|
||||
**bold** -- _italics_ --- ~~strikethrough~~ |
||||
tags : ["front-matter", "description", "special-block", "yaml", "multi-line"] |
||||
draft : false |
||||
tags: ["front-matter", "description", "special-block", "yaml", "multi-line"] |
||||
draft: false |
||||
--- |
||||
|
||||
Post content. |
||||
|
||||
@ -1,8 +1,8 @@ |
||||
--- |
||||
title : "Single-line description set using Org Special Block (YAML)" |
||||
description : "Short description" |
||||
tags : ["front-matter", "description", "special-block", "yaml", "single-line"] |
||||
draft : false |
||||
title: "Single-line description set using Org Special Block (YAML)" |
||||
description: "Short description" |
||||
tags: ["front-matter", "description", "special-block", "yaml", "single-line"] |
||||
draft: false |
||||
--- |
||||
|
||||
Post content. |
||||
|
||||
@ -1,14 +1,14 @@ |
||||
--- |
||||
title : "Custom resource params with list values" |
||||
tags : ["resources", "yaml"] |
||||
draft : false |
||||
resources : |
||||
- src : "*.png" |
||||
params : |
||||
booleans : [true, false] |
||||
integers : [123, -5, 17, 1_234] |
||||
animals : ["dog", "cat", "penguin", "mountain gorilla"] |
||||
strings-symbols : ["abc", "def", "two words"] |
||||
floats : [12.3, -5.0, -1.7e-05] |
||||
foo : "bar" |
||||
title: "Custom resource params with list values" |
||||
tags: ["resources", "yaml"] |
||||
draft: false |
||||
resources: |
||||
- src: "*.png" |
||||
params: |
||||
booleans: [true, false] |
||||
integers: [123, -5, 17, 1_234] |
||||
animals: ["dog", "cat", "penguin", "mountain gorilla"] |
||||
strings-symbols: ["abc", "def", "two words"] |
||||
floats: [12.3, -5.0, -1.7e-05] |
||||
foo: "bar" |
||||
--- |
||||
|
||||
@ -1,15 +1,15 @@ |
||||
--- |
||||
title : "Post with resources in front-matter" |
||||
tags : ["resources", "yaml"] |
||||
draft : false |
||||
resources : |
||||
- src : "image-4.png" |
||||
title : "The Fourth Image" |
||||
- src : "*.png" |
||||
name : "my-cool-image-:counter" |
||||
title : "The Image #:counter" |
||||
params : |
||||
byline : "bep" |
||||
- src : "*.jpg" |
||||
title : "JPEG Image #:counter" |
||||
title: "Post with resources in front-matter" |
||||
tags: ["resources", "yaml"] |
||||
draft: false |
||||
resources: |
||||
- src: "image-4.png" |
||||
title: "The Fourth Image" |
||||
- src: "*.png" |
||||
name: "my-cool-image-:counter" |
||||
title: "The Image #:counter" |
||||
params: |
||||
byline: "bep" |
||||
- src: "*.jpg" |
||||
title: "JPEG Image #:counter" |
||||
--- |
||||
|
||||
Loading…
Reference in new issue