post.html (1576B)
1 --- 2 layout: default 3 --- 4 5 <article 6 class="post h-entry" 7 itemscope 8 itemtype="http://schema.org/BlogPosting" 9 > 10 <header class="post-header"> 11 <h1 class="post-title p-name" itemprop="name headline"> 12 {{ page.title | escape }} 13 </h1> 14 <p class="post-meta"> 15 <time 16 class="dt-published" 17 datetime="{{ page.date | date_to_xmlschema }}" 18 itemprop="datePublished" 19 > 20 {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" 21 -%} {{ page.date | date: date_format }} 22 </time> 23 {%- if page.author -%} - {% assign author = site.data.authors[page.author] 24 %} 25 <span itemprop="author" itemscope itemtype="http://schema.org/Person"> 26 <span class="p-author h-card" itemprop="name"> 27 <img 28 src="{{ author.image }}" 29 width="20" 30 height="20" 31 style="margin: 5px" 32 /> 33 {{ author.name }} {%- if author.twitter -%} 34 <a href="{{ author.twitter }}" 35 ><svg class="svg-icon" style="margin-left: 10px"> 36 <use 37 xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}" 38 ></use></svg 39 ></a> 40 {%- endif -%} 41 </span> 42 </span> 43 {%- endif -%} 44 </p> 45 </header> 46 47 <div class="post-content e-content" itemprop="articleBody">{{ content }}</div> 48 49 {%- if site.disqus.shortname -%} {%- include disqus_comments.html -%} {%- 50 endif -%} 51 52 <a class="u-url" href="{{ page.url | relative_url }}" hidden></a> 53 </article>