-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8dbb2b8
commit 52d7874
Showing
21 changed files
with
1,654 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: default | ||
title: "404: Page not found" | ||
permalink: 404.html | ||
--- | ||
|
||
# 404: Page not found | ||
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. [Head back home]({{ site.url }}) to try finding it again. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Released under MIT License | ||
|
||
Copyright (c) 2014 Mark Otto. | ||
|
||
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: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
# Lanyon | ||
|
||
Lanyon is an unassuming [Jekyll](http://jekyllrb.com) theme that places content first by tucking away navigation in a hidden drawer. It's based on [Poole](http://getpoole.com), the Jekyll butler. | ||
|
||
![Lanyon](https://f.cloud.github.com/assets/98681/1825266/be03f014-71b0-11e3-9539-876e61530e24.png) | ||
![Lanyon with open sidebar](https://f.cloud.github.com/assets/98681/1825267/be04a914-71b0-11e3-966f-8afe9894c729.png) | ||
|
||
|
||
## Contents | ||
|
||
- [Usage](#usage) | ||
- [Options](#options) | ||
- [Sidebar menu](#sidebar-menu) | ||
- [Themes](#themes) | ||
- [Reverse layout](#reverse-layout) | ||
- [Development](#development) | ||
- [Author](#author) | ||
- [License](#license) | ||
|
||
|
||
## Usage | ||
|
||
Lanyon is a theme built on top of [Poole](https://github.com/poole/poole), which provides a fully furnished Jekyll setup—just download and start the Jekyll server. See [the Poole usage guidelines](https://github.com/poole/poole#usage) for how to install and use Jekyll. | ||
|
||
|
||
## Options | ||
|
||
Lanyon includes some customizable options, typically applied via classes on the `<body>` element. | ||
|
||
|
||
### Sidebar menu | ||
|
||
Create a list of nav links in the sidebar by assigning each Jekyll page the correct layout in the page's [front-matter](http://jekyllrb.com/docs/frontmatter/). | ||
|
||
``` | ||
--- | ||
layout: page | ||
title: About | ||
--- | ||
``` | ||
|
||
**Why require a specific layout?** Jekyll will return *all* pages, including the `atom.xml`, and with an alphabetical sort order. To ensure the first link is *Home*, we exclude the `index.html` page from this list by specifying the `page` layout. | ||
|
||
|
||
### Themes | ||
|
||
Lanyon ships with eight optional themes based on the [base16 color scheme](https://github.com/chriskempson/base16). Apply a theme to change the color scheme (mostly applies to sidebar and links). | ||
|
||
![Lanyon with red theme](https://f.cloud.github.com/assets/98681/1825270/be065110-71b0-11e3-9ed8-9b8de753a4af.png) | ||
![Lanyon with red theme and open sidebar](https://f.cloud.github.com/assets/98681/1825269/be05ec20-71b0-11e3-91ea-a9138ef07186.png) | ||
|
||
There are eight themes available at this time. | ||
|
||
![Available theme classes](https://f.cloud.github.com/assets/98681/1817044/e5b0ec06-6f68-11e3-83d7-acd1942797a1.png) | ||
|
||
To use a theme, add any one of the available theme classes to the `<body>` element in the `default.html` layout, like so: | ||
|
||
```html | ||
<body class="theme-base-08"> | ||
... | ||
</body> | ||
``` | ||
|
||
To create your own theme, look to the Themes section of [included CSS file](https://github.com/poole/lanyon/blob/master/public/css/lanyon.css). Copy any existing theme (they're only a few lines of CSS), rename it, and change the provided colors. | ||
|
||
|
||
### Reverse layout | ||
|
||
![Lanyon with reverse layout](https://f.cloud.github.com/assets/98681/1825265/be03f2e4-71b0-11e3-89f1-360705524495.png) | ||
![Lanyon with reverse layout and open sidebar](https://f.cloud.github.com/assets/98681/1825268/be056174-71b0-11e3-88c8-5055bca4307f.png) | ||
|
||
Reverse the page orientation with a single class. | ||
|
||
```html | ||
<body class="layout-reverse"> | ||
... | ||
</body> | ||
``` | ||
|
||
|
||
### Sidebar overlay instead of push | ||
|
||
Make the sidebar overlap the viewport content with a single class: | ||
|
||
```html | ||
<body class="sidebar-overlay"> | ||
... | ||
</body> | ||
``` | ||
|
||
This will keep the content stationary and slide in the sidebar over the side content. It also adds a `box-shadow` based outline to the toggle for contrast against backgrounds, as well as a `box-shadow` on the sidebar for depth. | ||
|
||
It's also available for a reversed layout when you add both classes: | ||
|
||
```html | ||
<body class="layout-reverse sidebar-overlay"> | ||
... | ||
</body> | ||
``` | ||
|
||
### Sidebar open on page load | ||
|
||
Show an open sidebar on page load by modifying the `<input>` tag within the `sidebar.html` layout to add the `checked` boolean attribute: | ||
|
||
```html | ||
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox" checked> | ||
``` | ||
|
||
Using Liquid you can also conditionally show the sidebar open on a per-page basis. For example, here's how you could have it open on the homepage only: | ||
|
||
```html | ||
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox" {% if page.title =="Home" %}checked{% endif %}> | ||
``` | ||
|
||
## Development | ||
|
||
Lanyon has two branches, but only one is used for active development. | ||
|
||
- `master` for development. **All pull requests should be to submitted against `master`.** | ||
- `gh-pages` for our hosted site, which includes our analytics tracking code. **Please avoid using this branch.** | ||
|
||
|
||
## Author | ||
|
||
**Mark Otto** | ||
- <https://github.com/mdo> | ||
- <https://twitter.com/mdo> | ||
|
||
|
||
## License | ||
|
||
Open sourced under the [MIT license](LICENSE.md). | ||
|
||
<3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,22 @@ | ||
# Welcome to Jekyll! | ||
# | ||
# This config file is meant for settings that affect your whole blog, values | ||
# which you are expected to set up once and rarely edit after that. If you find | ||
# yourself editing this file very often, consider using Jekyll's data files | ||
# feature for the data you need to update frequently. | ||
# | ||
# For technical reasons, this file is *NOT* reloaded automatically when you use | ||
# 'bundle exec jekyll serve'. If you change this file, please restart the server process. | ||
# | ||
# If you need help with YAML syntax, here are some quick references for you: | ||
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml | ||
# https://learnxinyminutes.com/docs/yaml/ | ||
# | ||
# Site settings | ||
# These are used to personalize your new site. If you look in the HTML files, | ||
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. | ||
# You can create any custom variable you would like, and they will be accessible | ||
# in the templates via {{ site.myvariable }}. | ||
# Setup | ||
title: 한걸음씩 천천히 | ||
tagline: 'The growing develope' | ||
url: http://siyul-park.github.io | ||
description: 'become a developer who has a positive influence to others 🔭' | ||
baseurl: '' | ||
paginate: 5 | ||
permalink: pretty | ||
|
||
title: 한걸음씩 천천히 | ||
username: Ara Park | ||
email: siyual.bak@gmail.com | ||
baseurl: "" # the subpath of your site, e.g. /blog | ||
url: "" # the base hostname & protocol for your site, e.g. http://example.com | ||
github_username: siyul-park | ||
linkedin_username: siyul-park | ||
# About/contact | ||
author: | ||
name: Ara Park | ||
url: https://www.linkedin.com/in/siyul-park | ||
email: siyual.bak@gmail.com | ||
|
||
# Build settings | ||
theme: minima | ||
# Gems | ||
plugins: | ||
- jekyll-feed | ||
- jekyll-paginate | ||
|
||
# Exclude from processing. | ||
# The following items will not be processed, by default. | ||
# Any item listed under the `exclude:` key here will be automatically added to | ||
# the internal "default list". | ||
# | ||
# Excluded items can be processed by explicitly listing the directories or | ||
# their entries' file path in the `include:` list. | ||
# | ||
# exclude: | ||
# - .sass-cache/ | ||
# - .jekyll-cache/ | ||
# - gemfiles/ | ||
# - Gemfile | ||
# - Gemfile.lock | ||
# - node_modules/ | ||
# - vendor/bundle/ | ||
# - vendor/cache/ | ||
# - vendor/gems/ | ||
# - vendor/ruby/ | ||
# Custom vars | ||
version: 1.1.0 | ||
google_analytics_id: #UA-XXXX-Y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<head> | ||
<link href="http://gmpg.org/xfn/11" rel="profile"> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> | ||
|
||
<title> | ||
{% if page.title == "Home" %} | ||
{{ site.title }} · {{ site.tagline }} | ||
{% else %} | ||
{{ page.title }} · {{ site.title }} | ||
{% endif %} | ||
</title> | ||
|
||
{% if page.url and site.baseurl %} | ||
<link rel="canonical" href="{{ page.url | absolute_url }}"> | ||
{% endif %} | ||
|
||
<link rel="stylesheet" href="{{ '/public/css/poole.css' | absolute_url }}"> | ||
<link rel="stylesheet" href="{{ '/public/css/syntax.css' | absolute_url }}"> | ||
<link rel="stylesheet" href="{{ '/public/css/lanyon.css' | absolute_url }}"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700%7CPT+Sans:400"> | ||
|
||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ '/public/apple-touch-icon-precomposed.png' | absolute_url }}"> | ||
<link rel="shortcut icon" href="{{ '/public/favicon.ico' | absolute_url }}"> | ||
|
||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ '/atom.xml' | absolute_url }}"> | ||
|
||
{% if site.google_analytics_id %} | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | ||
ga('create', '{{ site.google_analytics_id }}', 'auto'); | ||
ga('send', 'pageview'); | ||
</script> | ||
{% endif %} | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular | ||
styles, `#sidebar-checkbox` for behavior. --> | ||
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox"> | ||
|
||
<!-- Toggleable sidebar --> | ||
<div class="sidebar" id="sidebar"> | ||
<div class="sidebar-item"> | ||
<p>{{ site.description }}</p> | ||
</div> | ||
|
||
<nav class="sidebar-nav"> | ||
<a class="sidebar-nav-item{% if page.title == 'Home' %} active{% endif %}" href="{{ '/' | absolute_url }}">Home</a> | ||
|
||
{% comment %} | ||
The code below dynamically generates a sidebar nav of pages with | ||
`layout: page` in the front-matter. See readme for usage. | ||
{% endcomment %} | ||
|
||
{% assign pages_list = site.pages | sort:"url" %} | ||
{% for node in pages_list %} | ||
{% if node.title != null %} | ||
{% if node.layout == "page" %} | ||
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url | absolute_url }}">{{ node.title }}</a> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
<a class="sidebar-nav-item" href="{{ site.github.repo }}/archive/v{{ site.version }}.zip">Download</a> | ||
<a class="sidebar-nav-item" href="{{ site.github.repo }}">GitHub project</a> | ||
<span class="sidebar-nav-item">Currently v{{ site.version }}</span> | ||
</nav> | ||
|
||
<div class="sidebar-item"> | ||
<p> | ||
© {{ site.time | date: '%Y' }}. All rights reserved. | ||
</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-us"> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
{% include sidebar.html %} | ||
|
||
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the | ||
content to avoid any CSS collisions with our real content. --> | ||
<div class="wrap"> | ||
<div class="masthead"> | ||
<div class="container"> | ||
<h3 class="masthead-title"> | ||
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a> | ||
<small>{{ site.tagline }}</small> | ||
</h3> | ||
</div> | ||
</div> | ||
|
||
<div class="container content"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
|
||
<label for="sidebar-checkbox" class="sidebar-toggle"></label> | ||
|
||
<script src='{{ site.baseurl }}/public/js/script.js'></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<div class="page"> | ||
<h1 class="page-title">{{ page.title }}</h1> | ||
{{ content }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<script src="https://utteranc.es/client.js" | ||
repo="siyul-park/siyul-park.github.io" | ||
issue-term="title" | ||
theme="github-light" | ||
crossorigin="anonymous" | ||
async> | ||
</script> | ||
|
||
<div class="post"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
<span class="post-date">{{ page.date | date_to_string }}</span> | ||
{{ content }} | ||
</div> | ||
|
||
{% if site.related_posts.size >= 1 %} | ||
<div class="related"> | ||
<h2>Related posts</h2> | ||
<ul class="related-posts"> | ||
{% for post in site.related_posts limit:3 %} | ||
<li> | ||
<h3> | ||
<a href="{{ site.baseurl }}{{ post.url }}"> | ||
{{ post.title }} | ||
<small>{{ post.date | date_to_string }}</small> | ||
</a> | ||
</h3> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: post | ||
title: What's Jekyll? | ||
--- | ||
|
||
[Jekyll](https://jekyllrb.com) is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From [the project's readme](https://github.com/mojombo/jekyll/blob/master/README.markdown): | ||
|
||
> Jekyll is a simple, blog aware, static site generator. It takes a template directory [...] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub. | ||
It's an immensely useful tool and one we encourage you to use here with Lanyon. | ||
|
||
Find out more by [visiting the project on GitHub](https://github.com/mojombo/jekyll). |
Oops, something went wrong.