Welcome to mirror list, hosted at ThFree Co, Russian Federation.

section-details-list.html « partials « layouts - gitlab.com/mertbakir/resume-a4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8d529f25f0e17d299cb3f4c40944dceeefc2c34c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{{- $collection := index .Data (.Feature.collection | default "features" ) -}}
{{ range (index $collection .Feature.feature) }}
<div class="item">
	<h2 class="item-title">
		{{- if .link -}}
		<a href="{{ .link }}">{{ .title }}</a>
		{{- else -}}
		{{ .title }}
		{{- end -}}
	</h2>
	<span>{{ if and .subtitle .date }}
		{{- .subtitle | markdownify }} - {{ .date }}
	{{- else if .subtitle }}
		{{- .subtitle | markdownify }}
	{{- else if .date }}
		{{- .date }}
	{{- end }}</span>
	{{ if .details }}
		{{- partial "markdown" .details }}
	{{- end }}
	{{ if .links }}
	<ul>
		{{- range .links }}
		<li>
			{{- .prefix -}}
			<a href="{{ .url }}" class="{{ if and $.Params.useFontAwesome .icon }}no-external-icon{{ end }}">{{ .title }}{{ if and $.Params.useFontAwesome .icon }}<i class="{{ .icon }}"></i>{{ end }}</a>
			{{- end -}}
		</li>
	</ul>
	{{ end }}
</div>
{{ end }}