Skip to content

Commit 5c1f46a

Browse files
committed
Add about page
1 parent 8fcd7fa commit 5c1f46a

File tree

7 files changed

+112
-11
lines changed

7 files changed

+112
-11
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Description about this post, blablabla
5858

5959
So, Title A, A-1, A-2, Title B, B-1 will be detected and created as a directory
6060

61-
For example, post [CSS Animation](https://github.com/DONGChuan/DONGChuan.github.io/edit/master/_posts/2016-04-22-CSS-Animation.md)
61+
For example, [a demo post](https://github.com/DONGChuan/DONGChuan.github.io/edit/master/_posts/2016-04-22-CSS-Animation.md)
6262

6363

6464
### [Bookmark Module](http://dongchuan.github.io/bookmark)

_config.yml

+7
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,10 @@ analytics :
8282
provider : google
8383
google :
8484
tracking_id : 'tracking_id' # ex. UA-72165600-X
85+
86+
87+
# For about.html. Fell free to create your own!
88+
skill_software_keywords: [Java, C, C++, Qt, Python, MySQL, Oracle, SQLite, PL/SQL, Design Patterns]
89+
skill_j2ee_keywords: [Spring, Struct, Hibernet, MyBatis, JSP]
90+
skill_web_keywords: [HTML, CSS, JS, JQuery, Ajax, AngularJS, NodeJS, ExpressJS, MongoDB, Redis, PHP, Symfony, Boostrap]
91+
skill_mobile_app_keywords: [Android, Sketch UI Desgin]

_includes/about.html

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<div class="about row">
2+
3+
<div class="col-md-8">
4+
5+
<h2>About me</h2>
6+
7+
<p>BlaBlaBla BlaBlaBla BlaBlaBla BlaBlaBla BlaBlaBla BlaBlaBla BlaBlaBla BlaBlaBla</p>
8+
9+
<h2>Contact</h2>
10+
11+
<ul>
12+
<li>Email:<a href="mailto:{{ site.email }}" target="_top">{{ site.email }}</a></li>
13+
<li>Website:<a href="{{ site.github_url }}">{{ site.github_url }}</a></li>
14+
</ul>
15+
16+
<h2>Skill Keywords</h2>
17+
18+
{% if site.skill_software_keywords %}
19+
<div class="panel panel-default">
20+
<div class="panel-heading">
21+
<h3 class="panel-title">Software Engineer Keywords</h3>
22+
</div>
23+
<div class="panel-body">
24+
{% for keyword in site.skill_software_keywords %}
25+
<button class="btn btn-default" type="button">{{ keyword }}</button>
26+
{% endfor %}
27+
</div>
28+
</div>
29+
{% endif %}
30+
31+
{% if site.skill_j2ee_keywords %}
32+
<div class="panel panel-default">
33+
<div class="panel-heading">
34+
<h3 class="panel-title">J2EE Developer Keywords</h3>
35+
</div>
36+
<div class="panel-body">
37+
{% for keyword in site.skill_j2ee_keywords %}
38+
<button class="btn btn-default" type="button">{{ keyword }}</button>
39+
{% endfor %}
40+
</div>
41+
</div>
42+
{% endif %}
43+
44+
{% if site.skill_mobile_app_keywords %}
45+
<div class="panel panel-default">
46+
<div class="panel-heading">
47+
<h3 class="panel-title">Mobile Developer Keywords</h3>
48+
</div>
49+
<div class="panel-body">
50+
{% for keyword in site.skill_mobile_app_keywords %}
51+
<button class="btn btn-default" type="button">{{ keyword }}</button>
52+
{% endfor %}
53+
</div>
54+
</div>
55+
{% endif %}
56+
57+
{% if site.skill_web_keywords %}
58+
<div class="panel panel-default">
59+
<div class="panel-heading">
60+
<h3 class="panel-title">Web Developer Keywords</h3>
61+
</div>
62+
<div class="panel-body">
63+
{% for keyword in site.skill_web_keywords %}
64+
<button class="btn btn-default" type="button">{{ keyword }}</button>
65+
{% endfor %}
66+
</div>
67+
</div>
68+
{% endif %}
69+
70+
</div>
71+
72+
<div class="col-md-4">
73+
{% include sidebar-popular-repo.html %}
74+
</div>
75+
76+
</div>

about.md

+15-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
---
22
layout: page
3-
title: About
4-
permalink: /about/
3+
title: About Me
4+
menu: about
5+
subtitle: <h3>Download My CV</h3>
6+
<a role="button" class="btn btn-primary hvr-grow-shadow" href="/assets/files/CV_Chuan_Dong_FR.pdf" target="_blanks">
7+
<span class="flag-icon flag-icon-bl"></span> Français
8+
</a>
9+
<a role="button" class="btn btn-primary hvr-grow-shadow" href="/assets/files/CV_Chuan_Dong_FR.pdf" target="_blanks">
10+
<span class="flag-icon flag-icon-gb"></span> English
11+
</a>
12+
<a role="button" class="btn btn-primary hvr-grow-shadow" href="/assets/files/CV_Chuan_Dong_FR.pdf" target="_blanks">
13+
<span class="flag-icon flag-icon-cn"></span> 中文
14+
</a>
15+
16+
css: ['about.css', 'sidebar-popular-repo.css', '../../bower_components/flag-icon-css/css/flag-icon.min.css']
517
---
618

7-
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/)
8-
9-
You can find the source code for the Jekyll new theme at:
10-
[jekyll-new](https://github.com/jglovier/jekyll-new)
11-
12-
You can find the source code for Jekyll at
13-
[jekyll](https://github.com/jekyll/jekyll)
19+
{% include about.html %}

assets/css/about.css

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.about ul {
2+
margin-left: 30px;
3+
}
4+
5+
.about p {
6+
text-indent: 30px;
7+
}
8+
9+
.about .btn {
10+
margin-bottom: 5px;
11+
}

assets/files/CV_Chuan_Dong_FR.pdf

272 KB
Binary file not shown.

bower.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"hover": "^2.0.2",
2424
"geopattern": "^1.2.3",
2525
"underscore": "^1.8.3",
26-
"primer-markdown": "^2.5.1"
26+
"primer-markdown": "^2.5.1",
27+
"flag-icon-css": "^2.3.1"
2728
}
2829
}

0 commit comments

Comments
 (0)