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

back.html « partials « layouts - github.com/g1eny0ung/hugo-theme-dream.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a003f0ccf6bc807a7c2afe8655b14e6267a0862e (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
{{ partial "header.html" . }}

<div class="ui relaxed grid dream-grid dream-back">
  {{ $headless := .Site.GetPage "/about" }}
  {{ $aboutPages := $headless.Resources.ByType "page" }}
  {{ range $aboutPages }}
  <div class="sixteen wide mobile eight wide tablet four wide computer column dream-column">
    <article class="ui segment markdown-body">
      <div class="ui medium header">{{ .Title }}</div>
      {{ .Content | emojify }}
    </article>
  </div>
  {{ end }}

  {{ if not .Site.Params.hideBackSocialLinks }}
    <div class="sixteen wide mobile eight wide tablet four wide computer column dream-column">
      <article class="ui segment">
        <div class="ui medium header">{{ i18n "socialLinks" }}</div>
        {{ partialCached "socials.html" (dict "Site" .Site "IconSize" "large") }}
      </article>
    </div>
  {{ end }}

  <div class="sixteen wide mobile eight wide tablet four wide computer column dream-column">
    {{ if .Site.Copyright }}
    <article class="ui segment">
      {{ .Site.Copyright | safeHTML }}
    </article>
    {{ end }}
  </div>

  {{ if and .Site.DisqusShortname .IsHome }}
  <div class="sixteen wide mobile eight wide tablet eight wide computer column dream-column">
    <article class="ui segment">
      {{ partial "disqus.html" (dict "Context" . "Identifier" "/") }}
    </article>
  </div>
  {{ end }}
</div>