Skip to content

Commit f9957d2

Browse files
committed
update
1 parent da031b4 commit f9957d2

File tree

16 files changed

+465
-15
lines changed

16 files changed

+465
-15
lines changed

_config.yml

Lines changed: 97 additions & 14 deletions
Large diffs are not rendered by default.

_data/i18n/en.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
global:
2+
language: English
3+
english: English
4+
japanese: Japanese
5+
site:
6+
title: GUANGYU QU - Resume
7+
description: Resume and portfolio of GUANGYU QU
8+
sections:
9+
about: About Me
10+
experience: Experience
11+
tech_stack: Tech Stack
12+
education: Education
13+
languages: Languages
14+
buttons:
15+
download: Download PDF

_data/i18n/ja.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
global:
2+
language: 日本語
3+
english: 英語
4+
japanese: 日本語
5+
site:
6+
title: 屈光宇 - 履歴書
7+
description: 屈光宇の履歴書とポートフォリオ
8+
sections:
9+
about: 自己紹介
10+
experience: 職歴
11+
tech_stack: スキルセット
12+
education: 学歴
13+
languages: 言語能力
14+
buttons:
15+
download: PDFをダウンロード

_includes/footer.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div class="container footer-container">
2+
<p>
3+
{{ site.name | escape }} -
4+
<a href="mailto:{{ site.email }}" target="_blank">{{ site.email | escape }}</a>
5+
{%- if site.footer_show_references -%}
6+
&nbsp;- {{ site.references_title | default: "References on request" }}
7+
{%- endif -%}
8+
</p>
9+
</div>

_includes/head.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
6+
<title>{{ site.name }} | {{ site.title }}</title>
7+
<meta name="description" content="{{ site.description }}">
8+
9+
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
10+
<link rel="shortcut icon" href="{{ '/assets/favicon.ico' | relative_url }}">
11+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous"/>
12+
</head>

_includes/header.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<div class="container header-container">
2+
<div class="row">
3+
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-8 header-left">
4+
<h1>
5+
{% if page.lang == 'ja' and site.name_ja %}
6+
{{ site.name_ja | escape }}
7+
{% else %}
8+
{{ site.name | escape }}
9+
{% endif %}
10+
</h1>
11+
<h2>
12+
{% if page.lang == 'ja' and site.translations.ja.title %}
13+
{{ site.translations.ja.title | escape }}
14+
{% else %}
15+
{{ site.title | escape }}
16+
{% endif %}
17+
</h2>
18+
</div>
19+
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-4 header-right">
20+
<ul class="icons no-print">
21+
{%- if site.email -%}
22+
<li>
23+
<a target="_blank" href="mailto:{{ site.email | encode_email }}" class="button button--sacnite button--round-l">
24+
<i class="fas fa-envelope" title="Email"></i>
25+
</a>
26+
</li>
27+
{%- endif -%}
28+
{%- if site.instagram_username -%}
29+
<li>
30+
<a target="_blank" href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
31+
<i class="fab fa-instagram" title="Instagram"></i>
32+
</a>
33+
</li>
34+
{%- endif -%}
35+
{%- if site.linkedin_username -%}
36+
<li>
37+
<a target="_blank" href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
38+
<i class="fab fa-linkedin" title="LinkedIn"></i>
39+
</a>
40+
</li>
41+
{%- endif -%}
42+
{%- for link in site.additional_links -%}
43+
<li>
44+
<a target="_blank" href="{{ link.url }}" class="button button--sacnite button--round-l">
45+
<i class="{{ link.icon }}" title="{{ link.title | escape }}"></i>
46+
</a>
47+
</li>
48+
{%- endfor -%}
49+
</ul>
50+
</div>
51+
</div>
52+
</div>

_includes/language-selector.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<div class="language-selector">
2+
<a href="/" class="language-option {% if page.lang == 'en' %}active{% endif %}" data-lang="en">English</a>
3+
<a href="/ja/" class="language-option {% if page.lang == 'ja' %}active{% endif %}" data-lang="ja">日本語</a>
4+
</div>
5+
6+
<script src="{{ '/assets/js/language-selector.js' | relative_url }}"></script>

_includes/section-list.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{% for item in section.content %}
2+
<div class="row clearfix layout layout-{{item.layout | default: 'left'}}">
3+
<div class="col-xs-12 col-sm-4 col-md-3 col-print-12 details">
4+
{%- if item.title -%}<h4>{{ item.title }}</h4>{%- endif -%}
5+
{%- if page.lang == 'ja' and item.sub_title_ja -%}
6+
<p><b>{{ item.sub_title_ja }}</b></p>
7+
{%- elsif item.sub_title -%}
8+
<p><b>{{ item.sub_title }}</b></p>
9+
{%- endif -%}
10+
11+
{%- if page.lang == 'ja' and item.caption_ja -%}
12+
<p>{{ item.caption_ja }}</p>
13+
{%- elsif item.caption -%}
14+
<p>{{ item.caption }}</p>
15+
{%- endif -%}
16+
17+
{%- if item.link -%}
18+
<p class="no-print">
19+
<a href="{{ item.link }}" target="_blank">
20+
{%- if item.link_text -%}{{ item.link_text }}{%- else -%}{{ item.link }}{%- endif -%}
21+
</a>
22+
</p>
23+
{%- endif -%}
24+
25+
{%- if item.additional_links -%}
26+
<div class="no-print">
27+
{%- for link in item.additional_links -%}
28+
{%- if link.url -%}
29+
<p>
30+
<a href="{{ link.url }}" target="_blank">
31+
<i class="{{ link.icon }}"></i>
32+
{%- if link.text -%}{{ link.text }}{%- else -%}{{ link.url }}{%- endif -%}
33+
</a>
34+
</p>
35+
{%- endif -%}
36+
{%- endfor -%}
37+
</div>
38+
{%- endif -%}
39+
</div>
40+
<div class="col-xs-12 col-sm-8 col-md-9 col-print-12 content">
41+
{%- if item.quote -%}
42+
<p class="quote">{{ item.quote }}</p>
43+
{%- endif -%}
44+
45+
{% if page.lang == 'ja' and item.description_ja %}
46+
{{ item.description_ja | strip | markdownify }}
47+
{% else %}
48+
{{ item.description | strip | markdownify }}
49+
{% endif %}
50+
</div>
51+
</div>
52+
{% endfor %}

_includes/section-text.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ section.content | strip | markdownify }}

_layouts/default.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
3+
4+
{%- include head.html -%}
5+
6+
<body class="{% if site.darkmode == true %}dark{% endif %}">
7+
8+
{%- include language-selector.html -%}
9+
10+
{%- include header.html -%}
11+
12+
<main class="page-content" aria-label="Content">
13+
<div class="wrapper">
14+
{{ content }}
15+
</div>
16+
</main>
17+
18+
{%- include footer.html -%}
19+
20+
{% if site.darkmode == false %}
21+
<script src="{{ '/assets/js/index.js' | relative_url }}"></script>
22+
{% endif %}
23+
24+
</body>
25+
26+
</html>

0 commit comments

Comments
 (0)