-
-
Save ztl8702/142b563ad475287728bb597a5b6f5e7e to your computer and use it in GitHub Desktop.
test-polymer.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="import" href="/libraries/bower_components/custom/node-element.html"> | |
<script src="/modules/twig_polymer/vendor/webcomponentsjs/webcomponents-lite.min.js?v=1.x"></script> | |
</head> | |
<body> | |
<node-element url="/node/2"> | |
<label> | |
<span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Second article</span> | |
</label> | |
<authorname> | |
<span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"> | |
<span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">admin</span> | |
</span> | |
</authorname> | |
<date> | |
<span property="schema:dateCreated" content="2016-05-30T10:42:04+00:00" class="field field--name-created field--type-created field--label-hidden">Mon, 05/30/2016 - 10:42</span> | |
</date> | |
<maincontent> | |
<div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"> | |
<p>content of the 2nd article</p> | |
</div> | |
<div class="node__links"> | |
<ul class="links inline"> | |
<li class="node-readmore"><a href="/node/2" rel="tag" title="Second article" hreflang="en">Read more<span class="visually-hidden"> about Second article</span></a> | |
</li> | |
<li class="comment-forbidden"><a href="/user/login?destination=/node/2%23comment-form">Log in</a> or <a href="/user/register?destination=/node/2%23comment-form">register</a> to post comments</li> | |
</ul> | |
</div> | |
</maincontent> | |
</node-element> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment