GoGronkh/gserver/templates/aeps.html

44 lines
2.2 KiB
HTML

{{ template "header.html" . }}
<div class="row">
<div class="large-12 columns">
<h1>{{ .title }}</h1>
<ul class="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="/"><span itemprop="name">Home</span></a>
<meta itemprop="position" content="1" />
</li>
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="/zeige/"><span itemprop="name">Sprecher</span></a>
<meta itemprop="position" content="2" />
</li>
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="/zeige/{{ .AT.Slug.String }}/"><span itemprop="name">{{ .AT.Name.String }}</span></a>
<meta itemprop="position" content="3" />
</li>
<li class="current" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="/zeige/{{ .AT.Slug.String }}/episoden/"><span itemprop="name">Episoden</span></a>
<meta itemprop="position" content="4" />
</li>
<meta itemprop="numberOfItems" content="4" />
</ul>
<ul class="small-block-grid-2 medium-block-grid-4 large-block-grid-5">
{{ range .data }}
<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>
<br />{{ .EP.Season.Int64 }}x{{ .EP.Episode.Int64 }}: <a href="/lets-play/{{ .LP.Slug.String }}/{{ .EP.Slug.String }}/"><span itemprop="name">{{ .EP.Name.String }}</span></a>
</li>
{{ end }}
</ul>
</div>
</div>
{{ template "footer.html" . }}