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

single.html « _default « layouts - github.com/IvanChou/hugo-theme-vec.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eeaf3461c688458d0b53e7bac9e3f2b33f7b1c43 (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
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>

<head>
  <title> {{ .Title }} &middot; {{ .Site.Title }} </title>
  
  {{ partial "head.html" . }}
</head>

<body>
  {{ partial "header.html" . }}
  <div class="content">
    {{ if .Params.toc }}{{ .TableOfContents }}{{ end }}
    
    <section class="post">
      <h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
      <span class="post-date">{{ .Date.Format "Jan 2, 2006 " }}</span>
      <div class="post-content">
        {{ .Content }}
      </div>
    </section>
    
    <section class="pagination clearfix">
      {{ with .PrevInSection }}
      <a class="btn previous " href="{{.Permalink}}"> {{ .Title }} </a> 
      {{ end }} 
      {{ with .NextInSection }}
      <a class="btn next " href="{{.Permalink}}"> {{ .Title }} </a> 
      {{ end }}
    </section>
    
    {{ if .Params.comments }}{{ partial "disqus.html" . }}{{ end }}
  </div>
  
  {{ partial "footer.html" . }}
  
  <script src="{{ "js/highlight.min.js" | absURL }}"></script>
  <script>
    hljs.initHighlightingOnLoad();
  </script>
  {{ partial "analytics.html" . }}
</body>

</html>