-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reorg, readme update, first post update, etc
- Loading branch information
Showing
9 changed files
with
95 additions
and
93 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
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
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
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="/">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 %} | ||
{% 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 }}">{{ 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
This file was deleted.
Oops, something went wrong.
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 @@ | ||
--- | ||
layout: post | ||
title: Introducing Lanyon | ||
--- | ||
|
||
Lanyon is a [Jekyll](http://jekyllrb.com) theme with a toggleable sidebar drawer for out of sight navigation. It's based on [Poole](https://github.com/poole/poole), the Jekyll butler, and is designed to showcase your content first and foremost with extraneous information hidden offscreen until the reader requests it. | ||
|
||
### Built on Poole | ||
|
||
Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by [@mdo](https://twitter.com/mdo). Poole, and every theme built on it (like Lanyon here) includes the following: | ||
|
||
* Complete Jekyll setup included (layouts, config, [404](/404), [RSS feed](/atom.xml), posts, and [example page](/about)) | ||
* Mobile friendly design and development | ||
* Easily scalable text and component sizing with `rem` units in the CSS | ||
* Support for a wide gamut of HTML elements | ||
* Related posts (time-based, because Jekyll) below each post | ||
* Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter) | ||
|
||
### Lanyon features | ||
|
||
In addition to the features of Poole, Lanyon adds the following: | ||
|
||
* Toggleable sliding sidebar (built with only CSS) via **☰** link in top corner | ||
* Sidebar includes support for textual modules and a dynamically generated navigation with active link support | ||
* Two orientations for content and sidebar, default (left sidebar) and [reverse](https://github.com/poole/lanyon#reverse-layout) (right sidebar), available via `<body>` classes | ||
* [Eight optional color schemes](https://github.com/poole/lanyon#themes), available via `<body>` classes | ||
|
||
[Head to the readme](https://github.com/poole/lanyon#readme) to learn more. | ||
|
||
### Browser support | ||
|
||
Lanyon is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above. | ||
|
||
### Download | ||
|
||
Lanyon is developed on and hosted with GitHub. Head to the <a href="https://github.com/poole/lanyon">GitHub repository</a> for downloads, bug reports, and features requests. | ||
|
||
Thanks! |
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
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