Skip to content

Instantly share code, notes, and snippets.

@atstyle atstyle/gist:8800396

Last active Aug 29, 2015
What would you like to do?
<mt:Setvarblock name="ogimage"><mt:EntryAssets sort_order="ascend" lastn="1"><$mt:AssetURL$></mt:EntryAssets></mt:Setvarblock>
<meta property="og:image" content="<mt:If name='ogimage'><$mt:Getvar name='ogimage'><mt:Else>イメージのURL</mt:If>">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.