Skip to content

Commit 74bfa47

Browse files
committed
.
1 parent 3f68b65 commit 74bfa47

11 files changed

Lines changed: 169 additions & 239 deletions

_includes/figure.liquid

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,8 @@
4646
{% else %}
4747
height="auto"
4848
{% endif %}
49-
{% if include.style or include['min-width'] or include['min-height'] or include['max-width'] or include['max-height'] %}
49+
{% if include['min-width'] or include['min-height'] or include['max-width'] or include['max-height'] %}
5050
style="
51-
{% if include.style %}
52-
{{ include.style }}
53-
{% endif %}
5451
{% if include['min-width'] %}
5552
min-width: {{ include.min-width }};
5653
{% endif %}

_includes/header.liquid

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
{% else %}
2020
{{- site.title -}}
2121
{% endif %}
22-
2322
</a>
2423
{% elsif site.enable_navbar_social %}
2524
<!-- Social Icons -->

_includes/resume/certificates.liquid

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<div class="list-groups">
2-
{% if data[1] %}
3-
{% assign certificates = data[1] | sort: 'date' | reverse %}
4-
{% else %}
5-
{% assign certificates = "" | split: "," %}
6-
{% endif %}
2+
{% assign certificates = data[1] | sort: 'date' | reverse %}
73
{% for content in certificates %}
84
<div class="list-group col-md-6">
95
<table class="table-cv list-group-table">

_includes/resume/education.liquid

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<ul class="card-text font-weight-light list-group list-group-flush">
2-
{% if data[1] %}
3-
{% assign education = data[1] | sort: 'startDate' | reverse %}
4-
{% else %}
5-
{% assign education = "" | split: "," %}
6-
{% endif %}
2+
{% assign education = data[1] | sort: 'startDate' | reverse %}
73
{% for content in education %}
84
<li class="list-group-item">
95
<div class="row">

_includes/resume/interests.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
{% endfor %}
1919
<td colspan="{{ i }}" class="list-group-category">{{ content.name }}</td>
2020
</tr>
21+
2122
{% for item in content.keywords %}
2223
<tr>
2324
<td></td>

_includes/resume/publications.liquid

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<ul class="card-text font-weight-light list-group list-group-flush">
2-
{% if data[1] %}
3-
{% assign publications = data[1] | sort: 'releaseDate' | reverse %}
4-
{% else %}
5-
{% assign publications = "" | split: "," %}
6-
{% endif %}
2+
{% assign publications = data[1] | sort: 'releaseDate' | reverse %}
73
{% for content in publications %}
84
<li class="list-group-item">
95
<div class="row">

_includes/resume/volunteer.liquid

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<ul class="card-text font-weight-light list-group list-group-flush">
2-
{% if data[1] %}
3-
{% assign volunteer = data[1] | sort: 'startDate' | reverse %}
4-
{% else %}
5-
{% assign volunteer = "" | split: "," %}
6-
{% endif %}
2+
{% assign volunteer = data[1] | sort: 'startDate' | reverse %}
73
{% for content in volunteer %}
84
<li class="list-group-item">
95
<div class="row">

_includes/resume/work.liquid

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<ul class="card-text font-weight-light list-group list-group-flush">
2-
{% if data[1] %}
3-
{% assign work = data[1] | sort: 'startDate' | reverse %}
4-
{% else %}
5-
{% assign work = "" | split: "," %}
6-
{% endif %}
2+
{% assign work = data[1] | sort: 'startDate' | reverse %}
73
{% for content in work %}
84
<li class="list-group-item">
95
<div class="row">

_includes/social.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
{% when 'leetcode_id' %}
4646
<a href="https://leetcode.com/u/{{ social[1] }}/" target="_blank" title="LeetCode"><i class="si si-leetcode"></i></a>
4747
{% when 'linkedin_username' %}
48-
<a href="https://www.linkedin.com/company/{{ social[1] }}" title="LinkedIn"><i class="fa-brands fa-linkedin"></i></a>
48+
<a href="https://www.linkedin.com/in/{{ social[1] }}" title="LinkedIn"><i class="fa-brands fa-linkedin"></i></a>
4949
{% when 'mastodon_username' %}
5050
<a rel="me" href="https://{{ social[1] }}" title="Mastodon"><i class="fa-brands fa-mastodon"></i></a>
5151
{% when 'medium_username' %}

_layouts/about.liquid

Lines changed: 11 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: default
33
---
44
<div class="post">
5-
<!-- <header class="post-header">
5+
<header class="post-header">
66
<h1 class="post-title">
77
{% if site.title == 'blank' %}
88
<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }}
@@ -12,46 +12,25 @@ layout: default
1212
{% endif %}
1313
</h1>
1414
<p class="desc">{{ page.subtitle }}</p>
15-
</header> -->
15+
</header>
1616

1717
<article>
1818
{% if page.profile %}
1919
<div class="profile float-{% if page.profile.align == 'left' %}left{% else %}right{% endif %}">
2020
{% if page.profile.image %}
2121
{% assign profile_image_path = page.profile.image | prepend: 'assets/img/' %}
2222
{% if page.profile.image_circular %}
23-
{% assign profile_image_class = 'img-fluid rounded-circle' %}
23+
{% assign profile_image_class = 'img-fluid z-depth-1 rounded-circle' %}
2424
{% else %}
25-
{% assign profile_image_class = 'img-fluid rounded' %}
26-
{% endif %}
27-
28-
{% capture sizes %}(min-width: {{ site.max_width }}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px) 30vw, 95vw"{% endcapture %}
29-
30-
{% if page.profile.image_dark %}
31-
{% assign profile_image_dark_path = page.profile.image_dark | prepend: 'assets/img/' %}
32-
33-
<!-- Light Mode Logo -->
34-
<div class="logo-light">
35-
{%
36-
include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=page.profile.image
37-
cache_bust=true
38-
%}
39-
</div>
40-
41-
<!-- Dark Mode Logo -->
42-
<div class="logo-dark">
43-
{%
44-
include figure.liquid loading="eager" path=profile_image_dark_path class=profile_image_class sizes=sizes alt=page.profile.image
45-
cache_bust=true
46-
%}
47-
</div>
48-
{% else %}
49-
<!-- Default Single Logo -->
50-
{%
51-
include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=page.profile.image
52-
cache_bust=true
53-
%}
25+
{% assign profile_image_class = 'img-fluid z-depth-1
26+
rounded' %}
5427
{% endif %}
28+
{% capture sizes %}(min-width: {{ site.max_width }}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px)
29+
30vw, 95vw"{% endcapture %}
30+
{%
31+
include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=page.profile.image
32+
cache_bust=true
33+
%}
5534
{% endif %}
5635
{% if page.profile.more_info %}
5736
<div class="more-info">{{ page.profile.more_info }}</div>

0 commit comments

Comments
 (0)