Andreas Mieke
d473ba437c
* Also changing sizes to be Kodi compatible * Small improvements to keep the templates Retina compatible with new picture sizes.
51 lines
1.8 KiB
HTML
51 lines
1.8 KiB
HTML
{{ template "header.html" . }}
|
|
<div class="row">
|
|
<h1 id="atName" class="small-12 columns">{{ .data.AT.Name.String }}</h1>
|
|
<div class="medium-3 large-2 columns show-for-medium-up">
|
|
<img src="{{ .data.AT.AvatarB.String }}" />
|
|
</div>
|
|
<div class="small-12 medium-9 large-10 columns">
|
|
<h2>Aktuelle Let's Plays</h2>
|
|
<ul class="small-block-grid-2 medium-block-grid-3 large-block-grid-5">
|
|
{{ range .data.LPs }}
|
|
<li>
|
|
<a class="th" href="/lets-play/{{ .Slug.String }}/">
|
|
{{ if .PosterS.Valid }}
|
|
<img src="{{ .PosterS.String }}" />
|
|
{{ else }}
|
|
<img src="https://placeholdit.imgix.net/~text?txtsize=12&txt=Kein%20Cover&w=178&h=265" />
|
|
{{ end }}
|
|
</a>
|
|
<br /><a href="/lets-play/{{ .Slug.String }}/"><strong>{{ .Name.String }}</strong></a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
<h2>Aktuelle Episoden</h2>
|
|
<ul class="small-block-grid-2 medium-block-grid-3 large-block-grid-5">
|
|
{{ range .data.EPs }}
|
|
<li>
|
|
<a class="th" href="/lets-play/{{ .LP.Slug.String }}/{{ .EP.Slug.String }}/">
|
|
<img src="{{ .EP.ThumbS.String }}" />
|
|
</a>
|
|
<a href="/lets-play/{{ .LP.Slug.String }}/"><strong>{{ .LP.Name.String }}</strong></a>:
|
|
<br /><a href="/lets-play/{{ .LP.Slug.String }}/{{ .EP.Slug.String }}/">{{ .EP.Name.String }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ if .data.LTs }}
|
|
<h2>Aktuelle Let's Tests</h2>
|
|
<ul class="small-block-grid-2 medium-block-grid-3 large-block-grid-5">
|
|
{{ range .data.LTs }}
|
|
<li>
|
|
<a class="th" href="/testet/{{ .Slug.String }}/">
|
|
<img src="{{ .ThumbS.String }}" /></a>
|
|
</a>
|
|
<br /><a href="/testet/{{ .Slug.String }}/"><strong>{{ .Name.String }}</strong></a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ template "footer.html" . }}
|