GoGronkh/gserver/templates/at.html

63 lines
2.9 KiB
HTML
Raw Normal View History

{{ template "header.html" . }}
2015-09-28 19:35:37 +00:00
<div class="row" itemscope itemtype="http://schema.org/Person">
<meta itemprop="url" content="/zeige/{{ .data.AT.Slug.String }}" />
<meta itemprop="image" content="{{ .data.AT.FanArtB.String }}" />
2015-09-28 19:35:37 +00:00
<h1 id="atName" class="small-12 columns" itemprop="name">{{ .data.AT.Name.String }}</h1>
<div class="medium-3 large-2 columns show-for-medium-up">
2015-09-28 19:35:37 +00:00
<img alt="{{ .data.AT.Name.String }}'s Avatar" src="{{ .data.AT.AvatarB.String }}" itemprop="image" />
</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 }}
2015-09-28 19:35:37 +00:00
<li itemscope itemtype="http://schema.org/TVSeries">
<a class="th" href="/lets-play/{{ .Slug.String }}/" itemprop="url">
{{ if .PosterS.Valid }}
<img alt="" src="{{ .PosterS.String }}" itemprop="thumbnailUrl" />
{{ else }}
<img alt="" src="https://placeholdit.imgix.net/~text?txtsize=12&txt=Kein%20Cover&w=178&h=265" />
{{ end }}
</a>
2015-09-28 19:35:37 +00:00
<br /><a href="/lets-play/{{ .Slug.String }}/"><strong itemprop="name">{{ .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 }}
2015-09-28 19:35:37 +00:00
<li itemscope itemtype="http://schema.org/Episode">
<a class="th" href="/lets-play/{{ .LP.Slug.String }}/{{ .EP.Slug.String }}/" itemprop="url">
{{ if .EP.ThumbS.Valid }}
<img alt="" src="{{ .EP.ThumbS.String }}" itemprop="thumbnailUrl" />
{{ else }}
<img alt="" src="https://placeholdit.imgix.net/~text?txtsize=36&txt=Kein%20Thumbnail&w=265&h=149" />
{{ end }}
</a>
<span itemprop="partOfSeries" itemscope itemtype="http://schema.org/TVSeries">
<a href="/lets-play/{{ .LP.Slug.String }}/" itemprop="url"><strong itemprop="name">{{ .LP.Name.String }}</strong></a>:
</span>
2015-09-28 19:35:37 +00:00
<br /><a href="/lets-play/{{ .LP.Slug.String }}/{{ .EP.Slug.String }}/"><span itemprop="name">{{ .EP.Name.String }}</span></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 itemscope itemtype="http://schema.org/Movie">
2015-09-28 19:35:37 +00:00
<a class="th" href="/testet/{{ .Slug.String }}/" itemprop="url">
{{ if .ThumbS.Valid }}
<img alt="" src="{{ .ThumbS.String }}" itemprop="thumbnailUrl" />
{{ else }}
<img alt="" src="https://placeholdit.imgix.net/~text?txtsize=36&txt=Kein%20Thumbnail&w=265&h=149" />
{{ end }}
</a>
2015-09-28 19:35:37 +00:00
<br /><a href="/testet/{{ .Slug.String }}/"><strong itemprop="name">{{ .Name.String }}</strong></a>
</li>
{{ end }}
</ul>
{{ end }}
</div>
</div>
{{ template "footer.html" . }}