New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema.org json-ld file with custom.post.variables #3249

Closed
ghost opened this Issue Sep 4, 2018 · 1 comment

Comments

1 participant
@ghost

ghost commented Sep 4, 2018

I am trying to create a schema.org JSON-LD file for structured data with my own custom post.variables.

In my .md I have these for example:

japan_book: Hiroshima revisited
japan_author: Ken Tanaka

Then in my schema.org JSON-LD file, I have something like this with my dynamic variables (for illustration only)...

<script type='application/ld+json'>
{
	"@context": "http://schema.org/",
	"@type": "BlogPosting",
		"author": japan_author,
		"book": japan_book,
 },

This does not seem to work. How to write custom.post.variables in schema.org JSON-LD file correctly?

@YoshinoriN

This comment has been minimized.

Show comment
Hide comment
@YoshinoriN

YoshinoriN Oct 4, 2018

Member

@rabas007

I think may be you can find how to implement JSON+LD base on this hexo theme

Member

YoshinoriN commented Oct 4, 2018

@rabas007

I think may be you can find how to implement JSON+LD base on this hexo theme

@YoshinoriN YoshinoriN added the question label Oct 4, 2018

@YoshinoriN YoshinoriN closed this Oct 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment