blob: 5eaab7985841a894abe29fe263d495ede2c1970f (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
{{ $content_type := .Params.content_type }}
{{ $aboutPage := .Site.GetPage $content_type }}
<div class="row w-100 justify-content-center">
<img class="rounded-circle " src="images/profile.png" alt="profile_picture" id="profile_picture" />
</div>
{{ if $aboutPage.Params.full_name }}
<div class=" row w-100 justify-content-center main_color" id="full_name">
{{ $aboutPage.Params.full_name }}
</div>
{{end}}
{{ if $aboutPage.Params.affiliations }}
<div class="affiliations row w-100 justify-content-center">
<div class="row w-100 justify-content-center">
{{ range $key, $value := $aboutPage.Params.affiliations }}
<div class="row w-100 justify-content-center" id="title-name">
<span class="main_color" id="title">
{{$value.affiliation.title}},
</span>
<span id="name" class="text-muted">
{{$value.affiliation.name}}
</span>
</div>
<div class="row w-100 justify-content-center text-muted" id="email">
{{$value.affiliation.email}}
</div>
{{ end }}
</div>
</div>
{{end}}
{{ if $aboutPage.Params.socials }}
<div class="socials row w-100 justify-content-center">
<div class="row w-100 justify-content-center">
{{ $google_scholar := index $aboutPage.Params.socials "google_scholar"}}
{{ $facebook := index $aboutPage.Params.socials "facebook"}}
{{ $twitter := index $aboutPage.Params.socials "twitter"}}
{{ $twitch := index $aboutPage.Params.socials "twitch"}}
{{ $github := index $aboutPage.Params.socials "github"}}
{{ $cv := $aboutPage.Params.cv }}
{{if $google_scholar}}
<a class="main_color" href='https://scholar.google.com/{{$google_scholar}}' target="_blank">
<i class="ai ai-2x ai-google-scholar academic_icons_customize"></i>
</a>
{{end}}
{{ if $github }}
<a class="main_color" href='https://github.com/{{$github}}' target="_blank">
<i data-feather="github"></i>
</a>
{{end}}
{{ if $twitter }}
<a class="main_color" href='https://twitter.com/{{$twitter}}' target="_blank">
<i data-feather="twitter"></i>
</a>
{{end}}
{{ if $facebook }}
<a class="main_color" href='https://facebook.com/{{$facebook}}' target="_blank">
<i data-feather="facebook"></i>
</a>
{{end}}
{{ if $twitch }}
<a class="main_color" href='https://twitch.com/{{$twitch}}' target="_blank">
<i data-feather="twitch"></i>
</a>
{{end}}
{{if $cv}}
<a class="main_color" href='{{$cv}}' target="_blank">
<i class="ai ai-2x ai-cv academic_icons_customize"></i>
</a>
{{end}}
</div>
</div>
{{end}}
{{if $aboutPage.Content }}
<div class="introduction row w-100 text-justify">
<div class="col w-100">
{{$aboutPage.Content}}
</div>
</div>
{{end}}
|