Populaire ce mois

mobile-post [GV1]

Gadget TypeGadget VersionLayouts VersionTheme NameUpdate Version
Blog
1
1
2
Par défaut
Révision 1.3.0
Blogger - mobile-post [Blog GV1]
mobile-post est le nom d'une inclusion du modèle par défaut de gadget version 1 dans le gadget Blog.
L'inclusion affiche l'article dans la vue mobile personnalisée.


Contenu de l'inclusion

<b:includable id='mobile-post' var='post'>
  <div class='date-outer'>
    <b:if cond='data:post.dateHeader'>
      <h2 class='date-header'><span><data:post.dateHeader/></span></h2>
    </b:if>
    <div class='date-posts'>
      <div class='post-outer'>

        <div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
          <b:if cond='data:post.thumbnailUrl'>
            <meta expr:content='data:post.thumbnailUrl' itemprop='image_url'/>
          </b:if>
          <meta expr:content='data:blog.blogId' itemprop='blogId'/>
          <meta expr:content='data:post.id' itemprop='postId'/>
          <a expr:name='data:post.id'/>
          <b:if cond='data:post.title'>
            <h3 class='post-title entry-title' itemprop='name'>
              <b:if cond='data:post.link'>
                <a expr:href='data:post.link'><data:post.title/></a>
              <b:elseif cond='data:post.url and data:blog.url != data:post.url'/>
                <a expr:href='data:post.url'><data:post.title/></a>
              <b:else/>
                <data:post.title/>
              </b:if>
            </h3>
          </b:if>

          <div class='post-header'>
            <div class='post-header-line-1'/>
          </div>

          <div class='post-body entry-content' expr:id='"post-body-" + data:post.id' itemprop='articleBody'>
            <data:post.body/>
            <div style='clear: both;'/> <!-- clear for photos floats -->
          </div>

          <div class='post-footer'>

            <div class='post-footer-line post-footer-line-1'>

<!-- post-author -->
<span class='post-author vcard'>
  <b:if cond='data:top.showAuthor'>
    <data:top.authorLabel/>
      <b:if cond='data:post.authorProfileUrl'>
        <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
          <meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
          <a class='g-profile' expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
            <span itemprop='name'><data:post.author/></span>
          </a>
        </span>
      <b:else/>
        <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
          <span itemprop='name'><data:post.author/></span>
        </span>
      </b:if>
  </b:if>
</span>

<!-- post-timestamp -->
<span class='post-timestamp'>
  <b:if cond='data:top.showTimestamp'>
    <data:top.timestampLabel/>
    <b:if cond='data:post.url'>
      <meta expr:content='data:post.url.canonical' itemprop='url'/>
      <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
    </b:if>
  </b:if>
</span>

<!-- post-comment-link -->
<span class='post-comment-link'>
  <b:include cond='data:blog.pageType not in {"item","static_page"} and data:post.allowComments' data='post' name='comment_count_picker'/>
</span>

            </div>

            <div class='post-footer-line post-footer-line-2'>

<!-- mobile-share-button -->
<b:if cond='data:top.showMobileShare'>
  <div class='mobile-link-button goog-inline-block' id='mobile-share-button'>
    <a href='javascript:void(0);'><data:shareMsg/></a>
  </div>
</b:if>

            </div>

          </div>
        </div>

        <b:include cond='data:blog.pageType in {"static_page","item"}' data='post' name='comment_picker'/>
      </div>
    </div>
  </div>
</b:includable>


Les nœuds parents

Gadget Type Inclusion Gadget Version Layouts Version Thème
Blog
mobile-main 1 1 2
Par défaut


Les autres inclusions du gadget Blog version 1

Spotlight

Populaires cette semaine

Les gadgets Blogger [introduction]

Les équivalents des données des gadgets version 1 dans la version 2