Skip to content

Commit 0ce1fb3

Browse files
author
jsdnhk
committed
v20.02 init
1 parent 5b8f4e0 commit 0ce1fb3

File tree

6,082 files changed

+78633
-3771
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,082 files changed

+78633
-3771
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Jekyll
2-
_drafts/
2+
collections/_drafts/*.md
3+
collections/_posts/test/*.md
34
_site/
45
.DS_Store
56
*.swp

404.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
---
2-
layout: default
3-
title: 404
2+
layout: page
3+
title: "HTTP 404 Not Found"
4+
title_image: "status/dialog-information.png"
5+
title_display: false
6+
permalink: /404
47
---
58

6-
Error 404: This page does not exist.<br>
7-
[Go back]({{ "/" | prepend: site.baseurl | replace: '//', '/' }}).
9+
Most likely causes:
10+
11+
- There might be a typing error in the address.
12+
- If you clicked on a link, it may be out of date.
13+
14+
What you can try:
15+
16+
- Retype the address.
17+
- [Go back to the previous page.]({{ site.url }})
18+
- Go to and look for the information you want.
19+
- And more...:-)

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: "Changelog"
3+
---
4+
## Latest Update
5+
6+
### v20.02 (2020/02/02)
7+
8+
- Updated project structure
9+
- Provided styles frame to the website
10+
- Provided background video player
11+
- Added personal blog page with Disqus message board
12+
- Added favoured quote page
13+
- Added recommended link page
14+
- Integrated the portfolio page into the site
15+
- Updated documents and materials
16+
17+
### v19.06 (2020/01/11)
18+
19+
- Changed the portfolio display style
20+
- Changed domain to jsdn.hk
21+
22+
### v19.06 (2019/6/10)
23+
24+
- Built up the personal portfolio with styling
25+
- Supported emoji input
26+
- Added the website hit counter in the footer

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

PROJECTS_USED.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: "Projects Used"
3+
---
4+
## Special Thanks To...
5+
6+
### Styling
7+
8+
- [Bootstrap](https://getbootstrap.com/): Famous frontend framework for developing responsive webpages
9+
- [Poole](https://github.com/poole/poole): Clear and concise content renderer
10+
- [Hyde](https://github.com/poole/hyde): Simple and elgrant two-column style based from Poole
11+
- [Rouge](https://github.com/rouge-ruby/rouge): Well-known syntax highlighter for GitHub page
12+
13+
### Operation
14+
15+
- [Jekyll](https://jekyllrb.com/): Lightweight but strong blog-aware static web framework published by GitHub
16+
- [Google Analytics](https://developers.google.com/analytics): Web analytics service by Google
17+
- [JQuery](https://jquery.com/): Agile and feature-rich JavaScript library
18+
- [Underscore.js](https://underscorejs.org/): Enhancement of JavaScript by helper functions
19+
20+
### Images
21+
22+
- [Font Awesome 4.7](https://fontawesome.com/v4.7.0/): Most common iconic font and CSS toolkit
23+
- [Oxygen Icons Set](https://github.com/pasnox/oxygen-icons-png): Beautiful and completed icons set from a French designer
24+
- [Country Flag Icons](https://github.com/linssen/country-flag-icons): All countries' flags collection from Wiki and mapped to use

README.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
# jsdnhk@github profile - 2020
1+
## jsdn.hk profile - Stand with HK 2020
22

3-
**My footprints**: [https://jsdn.hk](https://jsdn.hk)
3+
Welcome to the website of an IT man from Hong Kong.<br>
4+
The shared technical blog contains my personal opinions, with HKer style.<br>
5+
The content is being updated regularly,<br>
6+
and the features will keep improved and extended as well.<br>
7+
The project is [open source][proj-repo] under the [MIT license][mit-license] with [logs][change-log],<br>
8+
especially thanks to these [projects][projects-used] to built up this blog.<br>
9+
Feel free to comment and suggest via [email][email-link] or [issue page][issue-page], thanks and enjoy!<br>
410

5-
Powered by Github page using Jekyll
611

7-
Just an IT man portfolio
8-
9-
**Although the world is full of suffering, it is also full of the overcoming of it.——Helen Keller**
10-
11-
#### Thanks to and Supported by:
12-
13-
* [OnePageLove-minimal-resume][ogl-resume]
14-
* [Emoji CSS][gh-emoji]
15-
* [Web Counter][hitwebcounter]
16-
17-
[ogl-resume]: <https://onepagelove.com/minimal-resume>
18-
[gh-emoji]: <https://afeld.github.io/emoji-css/>
19-
[hitwebcounter]: <http://www.hitwebcounter.com>
12+
[proj-repo]: <https://github.com/jsdnhk/jsdnhk.github.io>
13+
[mit-license]: <https://github.com/jsdnhk/jsdnhk.github.io/blob/master/LICENSE>
14+
[email-link]: <mailto:dn@jsdn.hk>
15+
[issue-page]: <https://github.com/jsdnhk/jsdnhk.github.io/issues>
16+
[change-log]: <./CHANGELOG.md>
17+
[projects-used]: <./PROJECTS_USED.md>

README_R.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## jsdn.hk profile -- Resume
2+
3+
**My footprints**: <https://jsdn.hk/resume>
4+
5+
Just an IT man portfolio
6+
7+
*Although the world is full of suffering, it is also full of the overcoming of it.——Helen Keller*
8+
9+
#### Thanks to and Supported by:
10+
11+
* [OnePageLove-minimal-resume][ogl-resume]
12+
* [Emoji CSS][gh-emoji]
13+
* [Web Counter][hitwebcounter]
14+
15+
[ogl-resume]: <https://onepagelove.com/minimal-resume>
16+
[gh-emoji]: <https://afeld.github.io/emoji-css/>
17+
[hitwebcounter]: <http://www.hitwebcounter.com>

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ task :post do
7171
end
7272
end # task :post
7373

74-
# Usage: rake page name="about.html"
74+
# Usage: rake page name="resume.html"
7575
# You can also specify a sub-directory path.
7676
# If you don't specify a file extention we create an index.html at the path specified
7777
desc "Create a new page."
@@ -116,6 +116,6 @@ end
116116
desc "Launch preview environment"
117117
task :preview do
118118
host_ip=`hostname -I | awk '{print $1;}'`
119-
system "jekyll serve -w --host #{host_ip}"
119+
system "jekyll serve -w -l --host #{host_ip} --port 4000"
120120
end
121121

_config.yml

Lines changed: 71 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,37 @@
55
# in the templates via {{ site.myvariable }}.
66

77
# global settings
8-
title: "jsdnhk@github active profile"
8+
title: "jsdn.hk"
99
email: "dn@jsdn.hk"
10-
description: "jsdnhk@github personal site - 2020"
10+
description: "Simple Note"
11+
keywords: "about-me, personal-blog, quotes, contacts, geek, main-page, useful-links, hker"
12+
tagline: "Simple Note"
1113
url: "https://jsdn.hk"
14+
language: en
1215
github: [metadata]
16+
github_url: "https://github.com/"
1317
github_username: "jsdnhk"
1418
repository: "jsdnhk/jsdnhk.github.io"
15-
# location: /var/lib/gems/2.5.0/gems/jekyll-theme-midnight-0.1.1
16-
theme: "jekyll-theme-midnight"
1719
timezone: "Asia/Hong_Kong"
18-
analytics_account: "UA-3769691-28" # for google analytics
20+
analytics_account: "UA-3769691-28"
21+
disqus_shortname: jsdnhk
22+
23+
# not use default theme
24+
# location: /var/lib/gems/2.5.0/gems/jekyll-theme-midnight-0.1.1
25+
# theme: "jekyll-theme-midnight"
1926

2027
# build settings
21-
exclude: ["etc", "scripts", "vendor", "Gemfile", "Gemfile.lock", "Rakefile", "README.md", "package.json", "node_modules"]
28+
collections_dir: collections
29+
exclude: ["etc", "scripts", "vendor", "Gemfile*", "package.json*", "Rakefile", "node_modules", ".idea"]
2230
profile: true
2331
strict_front_matter: true
32+
33+
# enable GFM
34+
kramdown:
35+
input: GFM
36+
hard_wrap: false
37+
math_engine_opts:
38+
preview: true
2439
plugins:
2540
- jekyll-feed
2641
- jekyll-redirect-from
@@ -30,5 +45,55 @@ plugins:
3045
- jemoji
3146
- jekyll-mentions
3247

48+
# default permalink is assigned to the posts
49+
blog_baseurl: "/blog/"
50+
permalink: /blog/:year:month:day
51+
3352
# front matter defaults settings
3453
excerpt_separator: "<!--end-->"
54+
defaults:
55+
# collections
56+
- scope:
57+
path: ""
58+
type: "pages"
59+
values:
60+
layout: page
61+
title:
62+
title_image:
63+
title_display: false
64+
footer_quote:
65+
sitenav:
66+
tags:
67+
categories:
68+
- scope:
69+
path: "*.md"
70+
type: "pages"
71+
values:
72+
layout: page_md
73+
# posts
74+
- scope:
75+
path: "collections/_posts/"
76+
type: "posts"
77+
values:
78+
layout: post
79+
display: true
80+
comment: false
81+
- scope:
82+
path: "collections/_posts/test"
83+
type: "posts"
84+
values:
85+
display: false
86+
# assets
87+
- scope:
88+
path: "assets/videos/bg"
89+
values:
90+
video_bg: true
91+
92+
# Site-scope variables
93+
path_header_image:
94+
h1: "/assets/images/oxygen/48x48/"
95+
h2: "/assets/images/oxygen/48x48/"
96+
h3: "/assets/images/oxygen/32x32/"
97+
h4: "/assets/images/oxygen/32x32/"
98+
h5: "/assets/images/oxygen/22x22/"
99+
h6: "/assets/images/oxygen/22x22/"

0 commit comments

Comments
 (0)