mirror of https://github.com/jkjoy/hugoblog.git
12 lines
528 B
HTML
12 lines
528 B
HTML
|
{{$URL := .Get 0}}
|
||
|
{{ with .Site.GetPage $URL }}
|
||
|
<div class="graph--mixtapeEmbed">
|
||
|
<a href="{{ .Permalink }}" target="_blank" class="mixtapeContent"><span
|
||
|
class="markup--strong markup--mixtapeEmbed-strong">{{ .Title
|
||
|
}}</span><em class="markup--em markup--mixtapeEmbed-em">{{ .Summary | truncate 60 }}</em></a>
|
||
|
{{ if .Params.cover }}
|
||
|
<a href="{{ .Permalink }}" target="_blank" class="mixtapeImage"
|
||
|
style="background-image:url('{{ .Params.cover }}')"></a>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
{{ end }}
|