Welcome to mirror list, hosted at ThFree Co, Russian Federation.

article.html « partials « layouts - github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b0e73804cf58cf132707295ea491304173caaa78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<div class="content">
  <article id="{{ .Params.layout }}-{{ .Params.slug }}" class="article article-type-{{ .Params.layout }}" itemscope
    itemtype="http://schema.org/BlogPosting">
    <!-- TODO gallary -->
    {{- partial "post/gallery" .}}
    <div class="article-header">
      {{- if or (.Permalink) (.Title)}}
      {{ .Scratch.Set "class_name" "article-title" }}
      {{- partial "post/title.html" . }}
      {{- end }}
      <div class="article-meta">
        {{ .Scratch.Set "class_name" "article-date" }}
        {{- partial "post/date.html" . }}
        {{- partial "post/category.html" . }}
        {{- partial "post/tag.html" . }}
        {{- partial "post/pv.html" . }}
        <span class="post-comment"><i class="icon icon-comment"></i> <a href="{{ .RelPermalink }}#comments"
            class="article-comment-link">{{T "article_comments" }}</a></span>
        {{- partial "post/wc.html" . }}
      </div>
    </div>
    <div class="article-entry marked-body js-toc-content" itemprop="articleBody">
      {{ .Content }}
    </div>
    <div class="article-footer">
      {{- partial "post/copyright.html" . }}
    </div>
  </article>
  {{- partial "post/comment.html" . }}
</div>
{{- partial "post/nav.html" . }}
{{- partial "post/donate.html" . }}