Skip to content

Commit 04f5c00

Browse files
Initial commit: Personal website with fixed navigation
0 parents  commit 04f5c00

23 files changed

+1268
-0
lines changed

.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Ignore docs files
2+
_gh_pages
3+
_site
4+
.ruby-version
5+
6+
# Numerous always-ignore extensions
7+
*.diff
8+
*.err
9+
*.orig
10+
*.log
11+
*.rej
12+
*.swo
13+
*.swp
14+
*.zip
15+
*.vi
16+
*~
17+
18+
# OS or Editor folders
19+
.DS_Store
20+
._*
21+
Thumbs.db
22+
.cache
23+
.project
24+
.settings
25+
.tmproj
26+
*.esproj
27+
nbproject
28+
*.sublime-project
29+
*.sublime-workspace
30+
.idea
31+
32+
# Komodo
33+
*.komodoproject
34+
.komodotools
35+
36+
# grunt-html-validation
37+
validation-status.json
38+
validation-report.json
39+
40+
# Folders to ignore
41+
node_modules

404.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: default
3+
title: "404: Page not found"
4+
permalink: 404.html
5+
---
6+
7+
<div class="page">
8+
<h1 class="page-title">404: Page not found</h1>
9+
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}">Head back home</a> to try finding it again.</p>
10+
</div>

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hyde.getpoole.com

Howto.txt

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
git pull origin main
2+
3+
cd E:\Git_page_source && git status
4+
5+
cd E:\Git_page_source && git init
6+
7+
cd E:\Git_page_source && git add .
8+
9+
cd E:\Git_page_source && git commit -m
10+
11+
cd E:\Git_page_source && git remote add origin https://github.com/ndolphin-github/ndolphin-github.github.io.git
12+
13+
cd E:\Git_page_source && git branch -M main
14+
15+
cd E:\Git_page_source && git push -u origin main
16+
17+
# When files are diff:
18+
19+
git fetch origin
20+
git merge origin/main --allow-unrelated-histories
21+
git add .
22+
git commit -m "Merge and setup"
23+
24+
Customize the index.html
25+
26+
cd E:\Git_page_source
27+
git add .
28+
git commit -m "Updated personal information"
29+
git push origin main
30+
31+
32+
# Files to Edit
33+
index.html (Your main welcome page)
34+
about.md (Your detailed bio)
35+
research.md (Details of your projects)
36+
publications.md (A list of your papers)
37+
38+
# Newest edit command:
39+
git add . && git commit -m "Update site content: about page, research page, publications, and first research post
40+
git push -u origin main --force

LICENSE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Released under MIT License
2+
3+
Copyright (c) 2013 Mark Otto.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

_config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Hyde theme configuration for Taehwa Hong
2+
title: Taehwa Hong
3+
description: "Research in Robotics Simulation"
4+
url: https://ndolphin-github.github.io
5+
baseurl: ""
6+
author:
7+
name: Taehwa Hong
8+
url: https://ndolphin-github.github.io
9+
10+
# Build settings
11+
markdown: kramdown
12+
permalink: /:title/
13+
14+
# Pagination for the homepage
15+
paginate: 5
16+
paginate_path: "/page:num/"

_includes/head.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<head>
2+
<link href="http://gmpg.org/xfn/11" rel="profile">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta http-equiv="content-type" content="text/html; charset=utf-8">
5+
6+
<!-- Enable responsiveness on mobile devices-->
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
8+
9+
<title>
10+
{% if page.title == "Home" %}
11+
{{ site.title }} &middot; {{ site.tagline }}
12+
{% else %}
13+
{{ page.title }} &middot; {{ site.title }}
14+
{% endif %}
15+
</title>
16+
17+
<!-- CSS -->
18+
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
19+
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css">
20+
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">
21+
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
22+
23+
<!-- Icons -->
24+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}public/apple-touch-icon-144-precomposed.png">
25+
<link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico">
26+
27+
<!-- RSS -->
28+
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
29+
</head>

_includes/sidebar.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<div class="sidebar">
2+
<div class="container sidebar-sticky">
3+
<div class="sidebar-about">
4+
<h1>
5+
<a href="{{ site.baseurl }}/">
6+
{{ site.title }}
7+
</a>
8+
</h1>
9+
<p class="lead">{{ site.description }}</p>
10+
</div>
11+
12+
<nav class="sidebar-nav">
13+
<a class="sidebar-nav-item{% if page.url == '/' or page.url == '/index.html' %} active{% endif %}" href="{{ site.baseurl }}/">Home</a>
14+
15+
{% comment %}
16+
The code below dynamically generates a sidebar nav of pages with
17+
`layout: page` in the front-matter. See readme for usage.
18+
{% endcomment %}
19+
20+
{% assign pages_list = site.pages | sort: 'title' %}
21+
{% for node in pages_list %}
22+
{% if node.title != null %}
23+
{% if node.layout == "page" %}
24+
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a>
25+
{% endif %}
26+
{% endif %}
27+
{% endfor %}
28+
29+
<a class="sidebar-nav-item" href="https://github.com/ndolphin-github">GitHub Profile</a>
30+
</nav>
31+
32+
<p>&copy; {{ site.time | date: '%Y' }}. All rights reserved.</p>
33+
</div>
34+
</div>

_layouts/default.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html lang="en-us">
3+
4+
{% include head.html %}
5+
6+
<body class="theme-base-0c">
7+
8+
{% include sidebar.html %}
9+
10+
<div class="content container">
11+
{{ content }}
12+
</div>
13+
14+
</body>
15+
</html>

_layouts/page.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
layout: default
3+
---
4+
5+
<div class="page">
6+
<h1 class="page-title">{{ page.title }}</h1>
7+
{{ content }}
8+
</div>

0 commit comments

Comments
 (0)