1
1
{% include header.html %}
2
2
3
+ {% if site.style == 'dark' %}
4
+ {% assign icon_color = "#ffffff" %}
5
+ {% else %}
6
+ {% assign icon_color = "#24292e" %}
7
+ {% endif %}
8
+
3
9
{% assign user = site.github.owner %}
4
10
5
11
< div class ="d-md-flex " style ="height: 100vh ">
6
- < div class ="flex-self-stretch border-bottom border-md-none border-md-right border-gray-light bg-white col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6 ">
12
+ < div class ="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %} border-bottom border-md-none border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6 ">
7
13
< img src ="{{ user.avatar_url }} " class ="circle mb-3 " style ="max-width: 150px; ">
8
- < h1 class ="mb-2 lh-condensed "> {% if user.name %}{{ user.name }}{% else %}{{ user.login }}{% endif %}</ h1 >
9
- < p class ="mb-3 f4 text-gray ">
14
+ < h1 class ="{% if site.style == 'dark' %}text-white{% endif %} mb-2 lh-condensed "> {% if user.name %}{{ user.name }}{% else %}{{ user.login }}{% endif %}</ h1 >
15
+ < p class ="mb-3 f4 {% if site.style == 'dark' %} text-white{% else %}text- gray{% endif %} ">
10
16
{{ user.bio }}
11
17
</ p >
12
18
< div class ="f4 mb-6 ">
13
19
{% if user.name %}
14
20
< div class ="d-flex flex-items-center mb-3 ">
15
- {% octicon mark-github height:20 class:"mr-2 v-align-middle" aria-label:GitHub %}
16
- < a href ="https://github.com/{{ user.login }} ">
21
+ {% octicon mark-github height:20 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:GitHub %}
22
+ < a href ="https://github.com/{{ user.login }} " {% if site.style == ' dark ' %}class =" text-white " {% endif %} >
17
23
@{{ user.login }}
18
24
</ a >
19
25
</ div >
20
26
{% endif %}
21
27
{% if user.email %}
22
28
< div class ="d-flex flex-items-center mb-3 ">
23
- {% octicon mail height:20 class:"mr-2 v-align-middle" aria-label:email %}
24
- < a href ="mailto:{{ user.email }} ">
29
+ {% octicon mail height:20 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:email %}
30
+ < a href ="mailto:{{ user.email }} " {% if site.style == ' dark ' %}class =" text-white " {% endif %} >
25
31
{{ user.email }}
26
32
</ a >
27
33
</ div >
28
34
{% endif %}
29
35
{% if user.location %}
30
- < div class ="d-flex flex-items-center mb-3 ">
31
- {% octicon location height:20 class:"mr-2 v-align-middle" aria-label:Location %}
36
+ < div class ="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %} mb-3 ">
37
+ {% octicon location height:20 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Location %}
32
38
{{ user.location }}
33
39
</ div >
34
40
{% endif %}
@@ -40,18 +46,13 @@ <h1 class="mb-2 lh-condensed">{% if user.name %}{{ user.name }}{% else %}{{ user
40
46
41
47
< div class ="col-md-7 col-lg-8 col-xl-9 px-4 py-6 px-lg-7 ">
42
48
< div class ="mx-auto " style ="max-width: 900px; ">
43
- {% include projects.html %}
44
-
45
- < h2 > My Interests</ h2 >
46
- < p class ="f4 mb-4 text-gray "> Topics that I want to learn more about.</ p >
47
- < div class ="d-flex flex-wrap gutter-condensed mb-4 ">
48
- {% for topic in site.topics limit: 4 %}
49
- < div class ="col-sm-6 col-md-12 col-lg-6 col-xl-4 mb-3 ">
50
- {% include topic-card.html %}
51
- </ div >
52
- {% endfor %}
49
+ < div class ="{% if site.style == 'dark' %}text-white{% endif %} mb-6 ">
50
+ {{ content }}
53
51
</ div >
54
52
53
+ {% include projects.html %}
54
+
55
+ {% include interests.html %}
55
56
</ div >
56
57
</ div >
57
58
</ div >
0 commit comments