Hi All,
I am moving my frontmatter from YAML to TOML to allow me to use inline tables for better formatting of the data, unfortunatly I dont seem to be able to get the data parsed to the template. I am sure I am missing something silly, here is my code:
+++
date = "2018-01-25T20:02:33+00:00"
title = "Article Title"
authors = "Me"
categories = ["Article"]
slug = "article-title"
type = "article"
[twitter]
card = "summary"
site = "@twittername"
title = "Special Title for the Card"
description = "Special Description for the card max. 200 characters"
image = "https://example.com/great-picture.jpg"
+++
Here is the template, its pretty simple to just output the data from the twitter section, all other values seem to populate the template:
<html>
<head>
<title>{{ .Title }}</title>
</head>
<body>
<hr>
{{ printf "%s" $.Params.twitter }}
</hr>
</body>
</html>
Hope someone can help as its driving me crazy