single.html 3.92 KB
Newer Older
radow's avatar
radow committed
1
2
3
4
5
6
7
{{ define "title" }}
  {{ .Title }} – {{ .Site.Title }}
{{ end }}

{{ define "main" }}
  <div class="row mt-2 mb-3">
    <div class="col-md-4">
Tobias Bengfort's avatar
Tobias Bengfort committed
8
9
10
11
12
13
14
15
16
17
18
19
20
      <div class="bg-body p-2">
        <h1>Factsheet</h1>
        <ul>
          <li>Developer: Purple Sloth Studio e.G.</li>
          {{ if isset .Params.Facts "release" }}
            <li>Release Date: {{ .Params.Facts.release }}</li>
          {{ end }}
          {{ if isset .Params.Facts "plat1" }}
            <li>Platforms:
              <ul>
                <li>{{ .Params.Facts.plat1 }}</li>
                {{ if isset .Params.Facts "plat2" }}
                  <li>{{ .Params.Facts.plat2 }}</li>
radow's avatar
radow committed
21
                {{ end }}
Tobias Bengfort's avatar
Tobias Bengfort committed
22
23
                {{ if isset .Params.Facts "plat3" }}
                  <li>{{ .Params.Facts.plat3 }}</li>
radow's avatar
radow committed
24
                {{ end }}
Tobias Bengfort's avatar
Tobias Bengfort committed
25
26
27
              </ul>
            </li>
          {{ end }}
radow's avatar
radow committed
28

Tobias Bengfort's avatar
Tobias Bengfort committed
29
30
31
          <li>Website: <a href="https://purplesloth.studio/games/chronescher/">purplesloth.studio</a></li>
        </ul>
      </div>
32

Tobias Bengfort's avatar
Tobias Bengfort committed
33
34
      <div class="bg-body p-2">
        <h1>Contact</h1>
radow's avatar
radow committed
35

Tobias Bengfort's avatar
Tobias Bengfort committed
36
        <h2>Inquiries</h2>
Tobias Bengfort's avatar
Tobias Bengfort committed
37
38
39
40
41
        {{ if isset .Params.Contact "address" }}
          <a href="mailto:{{ .Params.Contact.address }}">{{ .Params.Contact.address }}</a>
        {{ else }}
          <a href="mailto:Info@purplesloth.studio">info@purplesloth.studio</a>
        {{ end }}
radow's avatar
radow committed
42

Tobias Bengfort's avatar
Tobias Bengfort committed
43
        <h2>Twitter</h2>
Tobias Bengfort's avatar
Tobias Bengfort committed
44
45
        <a href="https://twitter.com/studio_sloth">@studio_sloth</a>

Tobias Bengfort's avatar
Tobias Bengfort committed
46
        <h2>Web</h2>
Tobias Bengfort's avatar
Tobias Bengfort committed
47
48
        <a href="https://purplesloth.studio/">purplesloth.studio/</a>
      </div>
49

radow's avatar
radow committed
50
51
52
53
54
55
56
57
58
59
      {{ if isset .Params.Links "de" }}
        <a href="{{ .Params.Links.de }}" class="btn btn-block btn-big bg-brand mb-1">Deutsch</a>
      {{ end }}
      {{ if isset .Params.Links "en" }}
        <a href="{{ .Params.Links.en }}" class="btn btn-block btn-big bg-brand mb-1">English</a>
      {{ end }}
      {{ if isset .Params.Links "gamepage" }}
        <a href="{{ .Params.Links.gamepage }}" class="btn btn-block btn-big bg-brand mb-1">Game Page</a>
      {{ end }}
    </div>
Tobias Bengfort's avatar
Tobias Bengfort committed
60

radow's avatar
radow committed
61
62
63
64
    <div class="col-md-8">
      <div class="bg-body p-2">
        <h1>{{ .Title }}</h1>
        {{ .Content }}
Tobias Bengfort's avatar
Tobias Bengfort committed
65

66
67
68
        {{ if eq .Params.lang "en" }}
          <h2>Logo & Title</h2>
          <ul class="tiles mb-3">
Tobias Bengfort's avatar
Tobias Bengfort committed
69
70
71
72
73
74
            {{ range .Resources.Match "logos/*" }}
              {{ $thumbnail := .Resize "400x" }}
              <li><a href="{{ .RelPermalink }}" target="_blank"><img src="{{ $thumbnail.RelPermalink }}" alt="{{ .Title }}" class="w-100 img-cover"></a></li>
            {{ end }}
          </ul>

75
76
          <h2>Images</h2>
          <ul class="tiles mb-3">
Tobias Bengfort's avatar
Tobias Bengfort committed
77
78
79
            {{ range .Resources.Match "screenshots/*" }}
              {{ $thumbnail := .Resize "400x" }}
              <li><a href="{{ .RelPermalink }}" target="_blank"><img src="{{ $thumbnail.RelPermalink }}" alt="{{ .Title }}" class="h-100 w-100 img-cover img-border"></a></li>
radow's avatar
radow committed
80
            {{ end }}
Tobias Bengfort's avatar
Tobias Bengfort committed
81
82
83
84
85
          </ul>
          {{ range (where .Site.Pages "Type" "=" "aboutPPSen") }}
            {{ .Content }}
          {{ end }}
        {{ end }}
radow's avatar
radow committed
86
        {{ if eq .Params.lang "de" }}
87
88
          <h2>Logo & Titel</h2>
          <ul class="tiles mb-3">
Tobias Bengfort's avatar
Tobias Bengfort committed
89
90
91
92
93
94
            {{ range .Resources.Match "logos/*" }}
              {{ $thumbnail := .Resize "400x" }}
              <li><a href="{{ .RelPermalink }}" target="_blank"><img src="{{ $thumbnail.RelPermalink }}" alt="{{ .Title }}" class="w-100 img-cover"></a></li>
            {{ end }}
          </ul>

95
96
          <h2>Bilder</h2>
          <ul class="tiles mb-3">
Tobias Bengfort's avatar
Tobias Bengfort committed
97
98
99
            {{ range .Resources.Match "screenshots/*" }}
              {{ $thumbnail := .Resize "400x" }}
              <li><a href="{{ .RelPermalink }}" target="_blank"><img src="{{ $thumbnail.RelPermalink }}" alt="{{ .Title }}" class="h-100 w-100 img-cover img-border"></a></li>
100
            {{ end }}
Tobias Bengfort's avatar
Tobias Bengfort committed
101
102
103
104
105
          </ul>
          {{ range (where .Site.Pages "Type" "=" "aboutPPSde") }}
            {{ .Content }}
          {{ end }}
        {{ end }}
radow's avatar
radow committed
106
107
108
      </div>
    </div>
  </div>
Tobias Bengfort's avatar
Tobias Bengfort committed
109
{{ end }}