Permalink
Browse files

initial commit

  • Loading branch information...
mdo committed Dec 28, 2013
0 parents commit 7bf9723e4be4fd131bd3a98fc366e09964ccc29f
@@ -0,0 +1,15 @@
+# editorconfig.org
+
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.py]
+indent_style = space
+indent_size = 4
@@ -0,0 +1,42 @@
+# Ignore docs files
+_gh_pages
+_site
+.ruby-version
+
+# Numerous always-ignore extensions
+*.diff
+*.err
+*.orig
+*.log
+*.rej
+*.swo
+*.swp
+*.zip
+*.vi
+*~
+
+# OS or Editor folders
+.DS_Store
+._*
+Thumbs.db
+.cache
+.project
+.settings
+.tmproj
+*.esproj
+nbproject
+*.sublime-project
+*.sublime-workspace
+.idea
+
+# Komodo
+*.komodoproject
+.komodotools
+
+# grunt-html-validation
+validation-status.json
+validation-report.json
+
+# Folders to ignore
+node_modules
+bower_components
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
+ <head>
+ <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">
+ <link href="http://gmpg.org/xfn/11" rel="profile">
+
+ <title>
+ Hyde, a Jekyll theme
+ </title>
+
+ <!-- CSS -->
+ <link rel="stylesheet" href="/public/css/hyde.css">
+ <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400italic,400,600,700|Abril+Fatface">
+
+ <!-- Icons -->
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/public/touch-icon-144-precomposed.png">
+ <link rel="shortcut icon" href="/public/favicon.png">
+
+ <!-- RSS -->
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
+ </head>
+ <body>
+
+ <header class="masthead">
+ <div class="masthead-inner">
+ <h1>Hyde</h1>
+ <p class="lead">An elegant open source and mobile first theme for <a href="http://jekyllrb.com" target="_blank">Jekyll</a>. Made by <a href="https://twitter.com/mdo" target="_blank">@mdo</a>.</p>
+
+ <div class="colophon">
+ <ul class="colophon-links">
+ <li>
+ <a href="https://github.com/mdo/hyde/archive/v1.0.0.zip">Download</a>
+ </li>
+ <li>
+ <a href="https://github.com/mdo/hyde">GitHub project</a>
+ </li>
+ <li>Currently v1.1</li>
+ </ul>
+ <p>&copy; 2013. All rights reserved.</p>
+ </div>
+
+ </div>
+ </header>
+
+ <div class="content container">
+ <div class="fourohfour">
+ <h1>404: Page not found</h1>
+ <p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="/">Visit the home page</a> to see if you can find it manually. Thanks!</p>
+ <hr>
+ <h3>Heads up!</h3>
+ <p>This is a basic 404 page for use with GitHub Pages. It's source code is not generated by Jekyll.</p>
+ <div>
+ </div>
+
+ </body>
+</html>
1 CNAME
@@ -0,0 +1 @@
+andhyde.com
@@ -0,0 +1,9 @@
+# Released under MIT License
+
+Copyright (c) 2013 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.
@@ -0,0 +1,69 @@
+# [Did](https://mdo.github.io/did)
+
+[Did](http://mdo.github.io/did) is a [Jekyll](http://jekyllrb.com) theme, designed and built by [@mdo](https://twitter.com/mdo). It's based on another theme, [Hyde](http://andhyde.com). Did is designed to showcase your content first and foremost. Navigation and extraneous information remains offscreen until the reader requests it.
+
+![Hyde screenshot](https://f.cloud.github.com/assets/98681/1330948/de10196c-353f-11e3-86d0-8e967dd95722.png)
+
+The name originates from a rather well-known, and unsurprisingly relevant, psychiatric condition, [dissociative identity disorder](http://en.wikipedia.org/wiki/Dissociative_identity_disorder). (Protip: It's just like Dr. Jekyll & Mr. Hyde.)
+
+
+## Usage
+
+### 1. Install Jekyll
+
+Did is built for use with Jekyll, so naturally you'll need to install that. On Macs, it's rather straightforward:
+
+```bash
+$ gem install jekyll
+```
+
+**Windows users:** Windows users have a bit more work to do, but luckily [@juthilo](https://github.com/juthilo) has your back with his [Run Jekyll on Windows](https://github.com/juthilo/run-jekyll-on-windows) guide.
+
+You may also need to install Pygments, the Python syntax highlighter for code snippets that places nicely with Jekyll. Read more about this [in the Jekyll docs](http://jekyllrb.com/docs/templates/#code_snippet_highlighting).
+
+### 2a. Quick start
+
+To help anyone with any level of familiarity with Jekyll quickly get started, Did includes everything you need for a basic Jekyll site. To that end, just download Did and start up Jekyll.
+
+### 2b. Roll your own Jekyll site
+
+Folks wishing to use Jekyll's templates and styles can do so with a little bit of manual labor. Download Did and then copy what you need (likely `_layouts/`, `*.html` files, `atom.xml` for RSS, and `public/` for CSS, JS, etc.).
+
+### 3. Running locally
+
+To see your Jekyll site with Did applied, start a Jekyll server. In Terminal, from `/did` (or whatever your Jekyll site's root directory is named):
+
+```bash
+$ jekyll serve
+```
+
+Open <http://localhost:4000> in your browser, and voilà. You're done.
+
+
+## Options
+
+Did includes a some customizable options, typically applied via classes on the `<body>` element.
+
+### Reverse layout
+
+Reverse the page orientation with a single class.
+
+```html
+<body class="layout-reverse">
+ ...
+</body>
+```
+
+
+## Author
+
+**Mark Otto**
+<https://github.com/mdo>
+<https://twitter.com/mdo>
+
+
+## License
+
+Open sourced under the [MIT license](LICENSE.md).
+
+<3
@@ -0,0 +1,12 @@
+title: Did
+tagline: 'A Jekyll theme, with personalities'
+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>.'
+url: http://andhyde.com
+version: 1.0.0
+author:
+ name: ''
+ email: ''
+markdown: rdiscount
+permalink: pretty
+pygments: true
+paginate: 5
@@ -0,0 +1,25 @@
+<head>
+ <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">
+ <link href="http://gmpg.org/xfn/11" rel="profile">
+
+ <title>
+ {% if page.title %}{{ page.title }} &middot; {% endif %}
+ {{ site.tagline }}
+ </title>
+
+ <!-- CSS -->
+ <link rel="stylesheet" href="/public/css/did.css">
+ {% if page.layout == "focused" %}
+ <link rel="stylesheet" href="/public/css/hyde-focused.css">
+ {% endif %}
+ <link rel="stylesheet" href="/public/css/syntax.css">
+ <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
+
+ <!-- Icons -->
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/public/apple-touch-icon-144-precomposed.png">
+ <link rel="shortcut icon" href="/public/favicon.ico">
+
+ <!-- RSS -->
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
+</head>
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
+
+ {% include head.html %}
+
+ <body>
+
+ <div class="sidebar" id="sidebar">
+
+ <div class="sidebar-item">
+ <p>{{ site.description }}</p>
+ </div>
+
+ <nav class="sidebar-nav">
+ <a class="sidebar-nav-item" href="https://github.com/mdo/did/archive/v{{ site.version }}.zip">Download</a>
+ <a class="sidebar-nav-item" href="https://github.com/mdo/did">GitHub project</a>
+ <span class="sidebar-nav-item">Currently v{{ site.version }}</span>
+ </nav>
+
+ <div class="sidebar-item">
+ <p>&copy; 2013. {{ site.author.name }} All rights reserved.</p>
+ </div>
+ </div>
+
+ <div class="wrap">
+ <a href="#sidebar" class="sidebar-show">☰</a>
+ <a href="#" class="sidebar-hide">☰</a>
+
+ <div class="masthead">
+ <h3 class="masthead-title">
+ {{ site.title }}
+ <small>{{ site.tagline }}</small>
+ </h3>
+ </div>
+
+ <div class="content container">
+ {{ content }}
+ </div>
+ </div>
+
+ </body>
+</html>
@@ -0,0 +1,25 @@
+---
+layout: default
+---
+
+<div class="post">
+ <h1 clas="post-title">{{ page.title }}</h1>
+ <span class="post-date">{{ page.date | date_to_string }}</span>
+ {{ content }}
+</div>
+
+<div class="related">
+ <h2>Related Posts</h2>
+ <ul class="related-posts">
+ {% for post in site.related_posts limit:3 %}
+ <li>
+ <h3>
+ <a href="{{ post.url }}">
+ {{ post.title }}
+ <small>{{ post.date | date_to_string }}</small>
+ </a>
+ </h3>
+ </li>
+ {% endfor %}
+ </ul>
+</div>
@@ -0,0 +1,12 @@
+---
+layout: post
+title: What's Jekyll?
+---
+
+[Jekyll](http://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 Hyde.
+
+Find out more by [visiting the project on GitHub](https://github.com/mojombo/jekyll).
@@ -0,0 +1,55 @@
+---
+layout: post
+title: Example content
+---
+
+This blog post shows a few different types of content that's supported and styled with Hyde. Basic typography, images, and code are all supported.
+
+-----
+
+Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>, nascetur ridiculus mus. *Aenean eu leo quam.* Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.
+
+> Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.
+
+Etiam porta **sem malesuada magna** mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.
+
+## Heading
+
+Vivamus sagittis lacus vel augue rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
+
+### Sub-heading
+
+Cum sociis natoque penatibus et magnis dis `code element` montes, nascetur ridiculus mus.
+
+{% highlight js %}
+// Example can be run directly in your JavaScript console
+
+// Create a function that takes two arguments and returns the sum of those arguments
+var adder = new Function("a", "b", "return a + b");
+
+// Call the function
+adder(2, 6);
+// > 8
+{% endhighlight %}
+
+Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.
+
+### Sub-heading
+
+Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
+
+* Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
+* Donec id elit non mi porta gravida at eget metus.
+* Nulla vitae elit libero, a pharetra augue.
+
+Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.
+
+1. Vestibulum id ligula porta felis euismod semper.
+2. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
+3. Maecenas sed diam eget risus varius blandit sit amet non magna.
+
+Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.
+
+-----
+
+Want to see something else added? <a href="https://github.com/mdo/hyde/issues/new">Open an issue.</a>
Oops, something went wrong.

0 comments on commit 7bf9723

Please sign in to comment.