-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.html
192 lines (186 loc) · 6.73 KB
/
default.html
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html lang="{{ site.plainwhite.html_lang }}">
<head>
{%- include head.html -%}
</head>
{%- if site.plainwhite.condensed_mobile contains page.layout -%}
{% assign condensed_class = "condensed" %}
{% else %}
{% assign condensed_class = "" %}
{%- endif -%}
<body>
<main class="container">
<section class="about">
<div class="about-header {{condensed_class}}">
<div class="about-title">
<a href="{{ "/" | relative_url}}">
{% if site.plainwhite.portfolio_image_dark and site.plainwhite.dark_mode %}
<img class="light" src="{{site.baseurl }}/{{ site.plainwhite.portfolio_image }}" alt="{{ site.plainwhite.name }}" />
<img class="dark" src="{{site.baseurl }}/{{ site.plainwhite.portfolio_image_dark }}" alt="{{ site.plainwhite.name }}" />
{% else %}
<img src="{{site.baseurl }}/{{ site.plainwhite.portfolio_image }}" alt="{{ site.plainwhite.name }}" />
{% endif %}
</a>
<h2 id="title">
<a href="{{ "/" | relative_url }}">{{ site.plainwhite.name }}</a>
</h2>
</div>
{%- if site.plainwhite.tagline -%}
<p class="tagline">{{ site.plainwhite.tagline }}</p>
{%- endif -%}
</div>
{% capture footer %}
{%- if site.plainwhite.social_links != '' -%}
<ul class="social about-footer {{condensed_class}}">
{%- if site.plainwhite.social_links.github -%}
<a href="https://github.com/{{ site.plainwhite.social_links.github }}" target="_blank">
<li>
<i class="icon-github-circled"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.gitlab -%}
<a href="https://gitlab.com/{{ site.plainwhite.social_links.gitlab }}" target="_blank">
<li>
<i class="icon-gitlab"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.linkedIn -%}
<a href="https://www.linkedin.com/{{ site.plainwhite.social_links.linkedIn }}" target="_blank">
<li>
<i class="icon-linkedin-squared"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.twitter -%}
<a href="https://twitter.com/{{ site.plainwhite.social_links.twitter }}" target="_blank">
<li>
<i class="icon-twitter-squared"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.instagram -%}
<a href="https://instagram.com/{{ site.plainwhite.social_links.instagram }}" target="_blank">
<li>
<i class="icon-instagram"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.facebook -%}
<a href="https://facebook.com/{{ site.plainwhite.social_links.facebook }}" target="_blank">
<li>
<i class="icon-facebook-squared"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.youtube -%}
<a href="https://youtube.com/{{ site.plainwhite.social_links.youtube }}" target="_blank">
<li>
<i class="icon-youtube"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.pinterest -%}
<a href="https://pinterest.com/{{ site.plainwhite.social_links.pinterest }}" target="_blank">
<li>
<i class="icon-pinterest-squared"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.dribbble -%}
<a href="https://dribbble.com/{{ site.plainwhite.social_links.dribbble }}" target="_blank">
<li>
<i class="icon-dribbble"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.flickr -%}
<a href="https://flickr.com/{{ site.plainwhite.social_links.flickr }}" target="_blank">
<li>
<i class="icon-flickr"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.telegram -%}
<a href=" https://t.me/{{ site.plainwhite.social_links.telegram }}" target="_blank">
<li>
<i class="icon-telegram"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.soundcloud -%}
<a href=" https://soundcloud.com/{{ site.plainwhite.social_links.soundcloud }}" target="_blank">
<li>
<i class="icon-soundcloud"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.email -%}
<a href="mailto:{{ site.plainwhite.social_links.email }}" target="_blank">
<li>
<i class="icon-mail-alt"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.stackoverflow -%}
<a href="https://stackoverflow.com/users/{{ site.plainwhite.social_links.stackoverflow }}" target="_blank">
<li>
<i class="icon-stack-overflow"></i>
</li>
</a>
{%- endif -%}
</ul>
{%- endif -%}
{%- if site.plainwhite.navigation -%}
<nav class="navigation about-footer {{condensed_class}}">
<ul>
{% for link in site.plainwhite.navigation %}
<li>
<a href="{{ link.url }}">{{ link.title }}</a>
</li>
{% endfor %}
</ul>
</nav>
{%- endif -%}
<p class="about-footer {{condensed_class}}">©
{{ "now" | date: "%Y" }}</p>
{%- if site.plainwhite.dark_mode -%}
<div class="about-footer {{condensed_class}}">
<p>Dark Mode
<i class="icon-moon"></i>
<label class="switch">
<input type="checkbox" class="dark-mode-toggle">
<span class="slider round" onclick="toggleDarkMode()"></span>
</label>
</p>
</div>
{%- endif -%}
{% endcapture %}
{{ footer }}
</section>
<section class="content">
{{ content }}
</section>
<footer class="{{condensed_class}}">
{{ footer }}
</footer>
</main>
{% if site.plainwhite.dark_mode %}
<script type="text/javascript" src="{{ "/assets/js/darkmode.js" | relative_url }}"></script>
{% endif %}
{%- if site.plainwhite.analytics_id -%}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.plainwhite.analytics_id }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', '{{ site.plainwhite.analytics_id }}');
</script>
{%- endif -%}
{% if site.plainwhite.search %}
<script src="{{ "/assets/js/simple-jekyll-search.min.js" | relative_url }}"></script>
<script src="{{ "/assets/js/search.js" | relative_url }}"></script>
{% endif %}
</body>
</html>