feat: improve new articles and links layout
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
<div class="blog-links">
|
||||
{{- with .Params.event }}
|
||||
<a class="label label-success label-lg" href="{{ .href }}" target="_blank" aria-label="Event Page" role="button">
|
||||
<i class="fas fa-calendar-alt" aria-hidden="true"></i> {{ .name }}
|
||||
</a>
|
||||
{{- end }}
|
||||
{{- with .Params.audio }}
|
||||
<a class="label label-success label-lg" href="{{ . }}" target="_blank" aria-label="Audio Recording" role="button">
|
||||
<i class="fas fa-microphone" aria-hidden="true"></i> Listen to Recording
|
||||
@@ -11,7 +6,7 @@
|
||||
{{- end }}
|
||||
{{- with .Params.article }}
|
||||
<a class="label label-success label-lg" href="{{ .href }}" target="_blank" aria-label="Related Article" role="button">
|
||||
<i class="fas fa-newspaper" aria-hidden="true"></i> Read {{ .name }} Article
|
||||
<i class="fas fa-newspaper" aria-hidden="true"></i> Read {{ .name | markdownify }} Article
|
||||
</a>
|
||||
{{- end }}
|
||||
{{- with .Params.video }}
|
||||
@@ -24,4 +19,9 @@
|
||||
<i class="fas fa-desktop" aria-hidden="true"></i> View Slides
|
||||
</a>
|
||||
{{- end }}
|
||||
{{- with .Params.event }}
|
||||
<a class="label label-success label-lg" href="{{ .href }}" target="_blank" aria-label="Event Page" role="button">
|
||||
<i class="fa fa-map-marker" aria-hidden="true"></i> {{ .name | markdownify }}
|
||||
</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user