Skip to content

Commit cfec9da

Browse files
committed
reorg, readme update, first post update, etc
1 parent 384c775 commit cfec9da

File tree

9 files changed

+95
-93
lines changed

9 files changed

+95
-93
lines changed

Diff for: LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Released under MIT License
22

3-
Copyright (c) 2013 Mark Otto.
3+
Copyright (c) 2014 Mark Otto.
44

55
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:
66

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To get started, download [Poole](https://github.com/poole/poole). See [the usage
1616

1717
Copy over the included files to turn any vanilla Poole site into a Lanyon site.
1818

19-
- Replace `_includes/head.html` with the included file of the same name
19+
- Replace `_includes/` with the included folder of the same name (will replace `_includes/head.html` and add `_includes/sidebar.html`)
2020
- Replace `_layouts/default.html` with the included file of the same name
2121
- Move `public/css/lanyon.css` to `public/css/`
2222

Diff for: _config.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ pygments: true
66
permalink: pretty
77

88
# Setup
9-
title: Did
10-
tagline: 'A Jekyll theme, with personalities'
11-
description: 'Did is a <a href="http://jekyllrb.com" target="_blank">Jekyll</a> theme with multiple personalities: the content, and the chrome. Made by <a href="https://twitter.com/mdo" target="_blank">@mdo</a>.'
12-
url: http://did.andhyde.com
9+
title: Lanyon
10+
tagline: 'A content-first, sliding sidebar theme for Jekyll'
11+
description: 'Lanyon is a responsive, mobile first <a href="http://jekyllrb.com" target="_blank">Jekyll</a> theme with a toggleable sidebar drawer. Made by <a href="https://twitter.com/mdo" target="_blank">@mdo</a>.'
12+
url: http://lanyon.getpoole.com
1313

1414
author:
1515
name: 'Mark Otto'
@@ -18,7 +18,7 @@ author:
1818
paginate: 5
1919

2020
# Custom vars
21-
version: 1.0.0
21+
version: 2.0.0
2222

2323
github:
24-
repo: https://github.com/mdo/did
24+
repo: https://github.com/poole/lanyon

Diff for: _includes/sidebar.html

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
2+
styles, `#sidebar-checkbox` for behavior. -->
3+
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
4+
5+
<!-- Toggleable sidebar -->
6+
<div class="sidebar" id="sidebar">
7+
<div class="sidebar-item">
8+
<p>{{ site.description }}</p>
9+
</div>
10+
11+
<nav class="sidebar-nav">
12+
<a class="sidebar-nav-item{% if page.title == "Home" %} active{% endif %}" href="/">Home</a>
13+
14+
{% comment %}
15+
The code below dynamically generates a sidebar nav of pages with
16+
`layout: page` in the front-matter. See readme for usage.
17+
{% endcomment %}
18+
19+
{% assign pages_list = site.pages %}
20+
{% for node in pages_list %}
21+
{% if node.title != null %}
22+
{% if node.layout == "page" %}
23+
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
24+
{% endif %}
25+
{% endif %}
26+
{% endfor %}
27+
28+
<a class="sidebar-nav-item" href="{{ site.github.repo }}/archive/v{{ site.version }}.zip">Download</a>
29+
<a class="sidebar-nav-item" href="{{ site.github.repo }}">GitHub project</a>
30+
<span class="sidebar-nav-item">Currently v{{ site.version }}</span>
31+
</nav>
32+
33+
<div class="sidebar-item">
34+
<p>
35+
&copy; {{ site.time | date: '%Y' }}. All rights reserved.
36+
</p>
37+
</div>
38+
</div>

Diff for: _layouts/default.html

+1-39
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,7 @@
55

66
<body>
77

8-
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
9-
styles, `#sidebar-checkbox` for behavior. -->
10-
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
11-
12-
<!-- Sidebar that gets toggled. `.sidebar` is for regular styles, `#sidebar`
13-
for behavior. -->
14-
<div class="sidebar" id="sidebar">
15-
<div class="sidebar-item">
16-
<p>{{ site.description }}</p>
17-
</div>
18-
19-
<nav class="sidebar-nav">
20-
<a class="sidebar-nav-item{% if page.title == "Home" %} active{% endif %}" href="/">Home</a>
21-
22-
{% comment %}
23-
The code below dynamically generates a sidebar nav of pages with
24-
`layout: page` in the front-matter. See readme for usage.
25-
{% endcomment %}
26-
27-
{% assign pages_list = site.pages %}
28-
{% for node in pages_list %}
29-
{% if node.title != null %}
30-
{% if node.layout == "page" %}
31-
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
32-
{% endif %}
33-
{% endif %}
34-
{% endfor %}
35-
36-
<a class="sidebar-nav-item" href="{{ site.github.repo }}/archive/v{{ site.version }}.zip">Download</a>
37-
<a class="sidebar-nav-item" href="{{ site.github.repo }}">GitHub project</a>
38-
<span class="sidebar-nav-item">Currently v{{ site.version }}</span>
39-
</nav>
40-
41-
<div class="sidebar-item">
42-
<p>
43-
&copy; {{ site.time | date: '%Y' }}. All rights reserved.
44-
</p>
45-
</div>
46-
</div>
8+
{% include sidebar.html %}
479

4810
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
4911
content to avoid any CSS collisions with our real content. -->

Diff for: _posts/2014-01-02-introducing-did.md

-32
This file was deleted.

Diff for: _posts/2014-01-02-introducing-lanyon.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
layout: post
3+
title: Introducing Lanyon
4+
---
5+
6+
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.
7+
8+
### Built on Poole
9+
10+
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:
11+
12+
* Complete Jekyll setup included (layouts, config, [404](/404), [RSS feed](/atom.xml), posts, and [example page](/about))
13+
* Mobile friendly design and development
14+
* Easily scalable text and component sizing with `rem` units in the CSS
15+
* Support for a wide gamut of HTML elements
16+
* Related posts (time-based, because Jekyll) below each post
17+
* Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
18+
19+
### Lanyon features
20+
21+
In addition to the features of Poole, Lanyon adds the following:
22+
23+
* Toggleable sliding sidebar (built with only CSS) via **** link in top corner
24+
* Sidebar includes support for textual modules and a dynamically generated navigation with active link support
25+
* Two orientations for content and sidebar, default (left sidebar) and [reverse](https://github.com/poole/lanyon#reverse-layout) (right sidebar), available via `<body>` classes
26+
* [Eight optional color schemes](https://github.com/poole/lanyon#themes), available via `<body>` classes
27+
28+
[Head to the readme](https://github.com/poole/lanyon#readme) to learn more.
29+
30+
### Browser support
31+
32+
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.
33+
34+
### Download
35+
36+
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.
37+
38+
Thanks!

Diff for: about.md

+7-11
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,27 @@ title: About
44
---
55

66
<p class="message">
7-
Hey there! This page is included in Did as an example. Feel free to customize it for your own use upon downloading. Carry on!
7+
Hey there! This page is included as an example. Feel free to customize it for your own use upon downloading. Carry on!
88
</p>
99

10-
[Did](http://mdo.github.io/did) is a [Jekyll](http://jekyllrb.com) theme, designed and built by [@mdo](https://twitter.com/mdo). It started off as an optional layout for another theme, [Hyde](http://andhyde.com). The code for both layouts added too much overhead, so a new theme was created.
10+
In the novel, *The Strange Case of Dr. Jeykll and Mr. Hyde*, Mr. Poole is Dr. Jekyll's virtuous and loyal butler. Similarly, Poole is an upstanding and effective butler that helps you build Jekyll themes. It's made by [@mdo](https://twitter.com/mdo).
1111

12-
## Name
12+
There are currently two themes built on Poole:
1313

14-
The name *Did* originates from a rather well-known, and unsurprisingly relevant, psychiatric condition.
14+
* [Hyde](http://hyde.getpoole.com)
15+
* [Lanyon](http://lanyon.getpoole.com)
1516

16-
> Dissociative identity disorder (<strong>DID</strong>), also known as multiple personality disorder (MPD), is an extremely rare mental disorder characterized by at least two distinct and relatively enduring identities or dissociated personality states that alternately control a person's behavior.
17-
>
18-
> [Wikipedia](http://en.wikipedia.org/wiki/Dissociative_identity_disorder)
19-
20-
If it wasn't obvious by now, the reference is the novel, *The Strange Case of Dr. Jeykll and Mr. Hyde*. Jekyll is the platform, Hyde the sister (and original) theme, and now Did the split personality theme (sidebar and content). Is it a stretch? Probably, but I love it.
17+
Learn more and contribute on [GitHub](https://github.com/poole).
2118

2219
## Setup
2320

2421
Some fun facts about the setup of this project include:
2522

2623
* Built for [Jekyll](http://jekyllrb.com)
2724
* Developed on GitHub and hosted for free on [GitHub Pages](https://pages.github.com)
28-
* Fonts PT Sans (headings) and PT Serif (body), and are served by [Google Web Fonts](http://www.google.com/webfonts)
2925
* Coded with [Sublime Text 2](http://sublimetext.org), an amazing code editor
3026
* Designed and developed while listening to music like [Blood Bros Trilogy](https://soundcloud.com/maddecent/sets/blood-bros-series)
3127

32-
Have questions or suggestions? Feel free to [open an issue on GitHub](https://github.com/mdo/did/issues/new) or [ask me on Twitter](https://twitter.com/mdo).
28+
Have questions or suggestions? Feel free to [open an issue on GitHub](https://github.com/poole/issues/new) or [ask me on Twitter](https://twitter.com/mdo).
3329

3430
Thanks for reading!

Diff for: public/css/lanyon.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* /\___/
1010
* \/__/
1111
*
12-
* Lanyon is a Jekyl ltheme built with a featuring a toggleable sidebar drawer
13-
* for out of sight navigation. It's based on Poole, the Jekyll butler. See the
14-
* project readme for usage information.
12+
* Lanyon is a responsive, mobile first Jekyll theme that features a toggleable
13+
* sidebar drawer for out of sight navigation. It's based on Poole, the Jekyll
14+
* butler. See the project readme for usage information.
1515
*
1616
* Designed, built, and released under MIT license by @mdo.
1717
*

0 commit comments

Comments
 (0)