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

body-footer.html « partials « layouts - github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 214fbb386c05664e406f6b2a6c392bccf4c526a4 (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
     
  <div class="footline" style="display:none">
    {{if .Params.tags }}
      <div class="tags"> 
        {{ range $index, $tag := .Params.tags }}
          <a class="label label-default" href="{{$.Site.BaseURL}}tags/{{ $tag | urlize }}">
            {{ $tag }}
          </a>
        {{ end }}
      </div>
    {{end}}

    {{with .Params.LastModifierDisplayName}}
      <div class="author">
          <i class='fa fa-user'></i>
          <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a>
      </div>
    {{end}}

    {{ if not .Page.Lastmod.IsZero }}
      <div class="date">
          <i class='fa fa-calendar'></i>
          {{T "last-update-on"}} {{ .Page.Lastmod.Format "02/01/2006" }}
      </div>
    {{end}}

    {{ if .Site.Params.editURL }}
      <div class="github-link">
        <a href="{{ .Site.Params.editURL }}{{with .File}}{{ replace .Dir "\\" "/" }}{{ .LogicalName }}{{end}}" target="blank"><i class="fa fa-code-fork"></i>
          {{T "Edit-this-page"}}</a>
      </div>
    {{end}}
  </div>


{{- partial "_mdinclude.html" (dict "name" "_layout/footer/_index" "context" . "tip" (T "create-footer-md") ) -}}