Skip to content

Commit

Permalink
Merge pull request #7 from byanko55/dev
Browse files Browse the repository at this point in the history
v1.0.1
  • Loading branch information
byanko55 committed Apr 22, 2024
2 parents d9d4827 + 3b1d0dc commit 9fa3a2e
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 22 deletions.
8 changes: 6 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: Title of your CV site
profile_img: assets/img/profile.webp
icon_img: assets/img/icon.webp
profile_img: /assets/img/profile.webp
icon_img: /assets/img/icon.webp

name: "Your Name Here"
job: "〈Your Job Here〉"
Expand All @@ -16,6 +16,10 @@ facebook_username: facebook
youtube_username: youtube
blog_url: homepage-url

# If your repo name follows the format "<user-name>.github.io", then leave the below blank.
# Otherwise, set its value as "/<repo-name>". ex) baseurl: /resume
baseurl:

exclude:
- _posts/
- resources/
Expand Down
36 changes: 18 additions & 18 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<title>{{ site.title }}</title>
{% seo %}

<link rel="icon" type="image/png" href="{{ site.icon_img }}">
<link rel="shortcut icon" type="image/png" href="{{ site.icon_img }}">
<link rel="stylesheet" href="{{ '/assets/css/style.css' }}">
<link rel="icon" type="image/png" href="{{ site.icon_img | prepend: site.baseurl }}">
<link rel="shortcut icon" type="image/png" href="{{ site.icon_img | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ '/assets/css/style.css' | prepend: site.baseurl }}">
<link href='https://fonts.googleapis.com/css?family=Poppins' rel='stylesheet'>
</head>

Expand All @@ -25,65 +25,65 @@
</div>
<div id="about">
<div class="profile-zone">
<img class="profile-img" src="{{ site.profile_img }}" alt="My Photo">
<img class="profile-img" src="{{ site.profile_img | prepend: site.baseurl }}" alt="My Photo">
<ul class="personal-info">
{% if site.phone_number %}
<li><a aria-label="My Phone">
<img src="{{ '/assets/img/phone.svg' }}" alt="My Phone Number">
<img src="{{ '/assets/img/phone.svg' | prepend: site.baseurl }}" alt="My Phone Number">
<div><span>{{ site.phone_number }}</span></div>
</a></li>
{% endif %}
{% if site.address %}
<li><a aria-label="My Address" href="https://www.google.com/maps/search/{{ site.address }}">
<img src="{{ '/assets/img/location-dot.svg' }}" alt="My Address">
<img src="{{ '/assets/img/location-dot.svg' | prepend: site.baseurl }}" alt="My Address">
<div><span>{{ site.address }}</span></div>
</a></li>
{% endif %}
{% if site.email %}
<li><a aria-label="My Email" href="{{ site.email }}">
<img src="{{ '/assets/img/envelope.svg' }}" alt="My Email">
<li><a aria-label="My Email" href="mailto:{{ site.email }}">
<img src="{{ '/assets/img/envelope.svg' | prepend: site.baseurl }}" alt="My Email">
<div><span>{{ site.email }}</span></div>
</a></li>
{% endif %}
{% if site.linkedin_username %}
<li><a aria-label="My LinkedIn" href="https://www.linkedin.com/in/{{ site.linkedin_username }}">
<img src="{{ '/assets/img/linkedin.svg' }}" alt="My LinkedIn">
<img src="{{ '/assets/img/linkedin.svg' | prepend: site.baseurl }}" alt="My LinkedIn">
<div><span>@{{ site.linkedin_username }}</span></div>
</a></li>
{% endif %}
{% if site.github_username %}
<li><a aria-label="My Github" href="https://github.com/{{ site.github_username }}">
<img src="{{ '/assets/img/github.svg' }}" alt="My Github">
<img src="{{ '/assets/img/github.svg' | prepend: site.baseurl }}" alt="My Github">
<div><span>@{{ site.github_username }}</span></div>
</a></li>
{% endif %}
{% if site.twitter_username %}
<li><a aria-label="My Twitter" href="https://twitter.com/{{ site.twitter_username }}">
<img src="{{ '/assets/img/twitter.svg' }}" alt="My Twitter">
<img src="{{ '/assets/img/twitter.svg' | prepend: site.baseurl }}" alt="My Twitter">
<div><span>@{{ site.twitter_username }}</span></div>
</a></li>
{% endif %}
{% if site.instagram_username %}
<li><a aria-label="My Instagram" href="https://www.instagram.com/{{ site.instagram_username }}">
<img src="{{ '/assets/img/instagram.svg' }}" alt="My Instagram">
<img src="{{ '/assets/img/instagram.svg' | prepend: site.baseurl }}" alt="My Instagram">
<div><span>@{{ site.instagram_username }}</span></div>
</a></li>
{% endif %}
{% if site.facebook_username %}
<li><a aria-label="My Facebook" href="https://www.facebook.com/{{ site.facebook_username }}">
<img src="{{ '/assets/img/facebook.svg' }}" alt="My Facebook">
<img src="{{ '/assets/img/facebook.svg' | prepend: site.baseurl }}" alt="My Facebook">
<div><span>@{{ site.facebook_username }}</span></div>
</a></li>
{% endif %}
{% if site.youtube_username %}
<li><a aria-label="My Youtube" href="https://www.youtube.com/{{ site.youtube_username }}">
<img src="{{ '/assets/img/youtube.svg' }}" alt="My Youtube">
<img src="{{ '/assets/img/youtube.svg' | prepend: site.baseurl }}" alt="My Youtube">
<div><span>@{{ site.youtube_username }}</span></div>
</a></li>
{% endif %}
{% if site.blog_url %}
<li><a aria-label="My Blog" href="{{ site.blog_url }}">
<img src="{{ '/assets/img/house.svg' }}" alt="My Blog">
<img src="{{ '/assets/img/house.svg' | prepend: site.baseurl }}" alt="My Blog">
<div><span>{{ site.blog_url }}</span></div>
</a></li>
{% endif %}
Expand All @@ -100,7 +100,7 @@ <h2>{{ site.job }}</h2>
<li class="subject" id="{{ subject.subject }}">
<h2 class="subject-name">
<div>
<img class="subject-icon" src="{{ subject.icon }}" alt="{{ subject.subject }}">
<img class="subject-icon" src="{{ subject.icon | prepend: site.baseurl }}" alt="{{ subject.subject | prepend: site.baseurl }}">
</div>
{{ subject.subject }}
</h2>
Expand All @@ -111,7 +111,7 @@ <h2 class="subject-name">
{{ member.title | markdownify }}
{% if member.date %}
<span class="content-date">
<img src="{{ '/assets/img/calendar.webp' }}" alt="date">
<img src="{{ '/assets/img/calendar.webp' | prepend: site.baseurl}}" alt="date">
{{ member.date }}
</span>
{% endif %}
Expand Down Expand Up @@ -144,5 +144,5 @@ <h2 class="subject-name">
</span>
</div>
</body>
<script src="{{ '/assets/js/main.js' }}"></script>
<script src="{{ '/assets/js/main.js' | prepend: site.baseurl }}"></script>
</html>
7 changes: 6 additions & 1 deletion assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ a { text-decoration:none; }
&:before{
content:"";
position: absolute;
visibility: hidden;
top: 6px;
left: -56px;
width: 16px;
Expand Down Expand Up @@ -397,8 +398,12 @@ a { text-decoration:none; }

.content-date { font-size: 16px; }
.content-date img { width: 24px; }

.content-header {
p { font-size: 18px; }

.content-header p { font-size: 18px; }
&:before{ visibility: visible !important; }
}

.content-header p,
.content-date {
Expand Down
2 changes: 1 addition & 1 deletion jekyll-professional-resume.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "jekyll-professional-resume"
spec.version = "1.0.0"
spec.version = "1.0.1"
spec.authors = ["Yankos"]
spec.email = ["byanko55@gmail.com"]

Expand Down

0 comments on commit 9fa3a2e

Please sign in to comment.