2. Added Rack support 3. Disqus support 4. Improved Readme 5. Improved Syntax flexibility and styling 6. Improved blockquote stylingunreleased_contents
@ -0,0 +1,35 @@ |
|||
require 'rubygems' |
|||
require 'bundler/setup' |
|||
require 'rack' |
|||
|
|||
# The project root directory |
|||
$root = ::File.dirname(__FILE__) |
|||
|
|||
# Common Rack Middleware |
|||
use Rack::ShowStatus # Nice looking 404s and other messages |
|||
use Rack::ShowExceptions # Nice looking errors |
|||
|
|||
# |
|||
# From Rack::DirectoryIndex: |
|||
# https://github.com/craigmarksmith/rack-directory-index/ |
|||
# |
|||
module Rack |
|||
class DirectoryIndex |
|||
def initialize(app) |
|||
@app = app |
|||
end |
|||
def call(env) |
|||
index_path = ::File.join($root, 'public', Rack::Request.new(env).path.split('/'), 'index.html') |
|||
if ::File.exists?(index_path) |
|||
return [200, {"Content-Type" => "text/html"}, [::File.read(index_path)]] |
|||
else |
|||
@app.call(env) |
|||
end |
|||
end |
|||
end |
|||
end |
|||
|
|||
use Rack::DirectoryIndex |
|||
|
|||
run Rack::Directory.new($root + '/public') |
|||
|
@ -0,0 +1,6 @@ |
|||
{% if page.author %} |
|||
{% assign author = page.author %} |
|||
{% else %} |
|||
{% assign author = site.author %} |
|||
{% endif %} |
|||
{% if author %}<span class="byline author vcard">Posted by <span class="fn">{{ author }}</span></span>{% endif %} |
@ -0,0 +1,6 @@ |
|||
{% if page.date %} |
|||
<time datetime="{{ page.date | datetime }}" pubdate {% if page.updated %} updated {% endif %}>{{ page.date | ordinalize }}</time> |
|||
{% endif %} |
|||
{% if page.updated %} |
|||
<time class="updated" datetime="{{ page.updated | datetime }}"></time> |
|||
{% endif %} |
@ -0,0 +1 @@ |
|||
<a href="http://twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ page.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}" >Tweet</a> |
After Width: | Height: | Size: 141 B |
After Width: | Height: | Size: 82 B |
After Width: | Height: | Size: 118 B |
After Width: | Height: | Size: 203 B |
After Width: | Height: | Size: 636 B |
After Width: | Height: | Size: 343 B |
After Width: | Height: | Size: 835 B |
After Width: | Height: | Size: 210 B |
After Width: | Height: | Size: 664 B |
After Width: | Height: | Size: 170 B |
After Width: | Height: | Size: 442 B |
After Width: | Height: | Size: 251 B |
After Width: | Height: | Size: 553 B |
After Width: | Height: | Size: 112 B |
After Width: | Height: | Size: 94 B |
After Width: | Height: | Size: 103 B |
After Width: | Height: | Size: 114 B |
After Width: | Height: | Size: 116 B |
After Width: | Height: | Size: 264 B |
After Width: | Height: | Size: 649 B |
After Width: | Height: | Size: 686 B |
After Width: | Height: | Size: 816 B |
After Width: | Height: | Size: 334 B |
After Width: | Height: | Size: 465 B |
After Width: | Height: | Size: 686 B |
@ -0,0 +1,115 @@ |
|||
<?xml version="1.0"?> |
|||
<skin version="1.1" name="Glow" author="LongTail Video"> |
|||
|
|||
<settings> |
|||
<setting name="backcolor" value="0x000000" /> |
|||
<setting name="frontcolor" value="0xeeeeee" /> |
|||
<setting name="lightcolor" value="0xeeeeee" /> |
|||
<setting name="screencolor" value="0x000000" /> |
|||
</settings> |
|||
|
|||
<components> |
|||
<component name="controlbar"> |
|||
<settings> |
|||
<setting name="margin" value="0" /> |
|||
<setting name="fontsize" value="11" /> |
|||
<setting name="fontcolor" value="0xEEEEEE" /> |
|||
<setting name="buttoncolor" value="0xEEEEEE" /> |
|||
</settings> |
|||
|
|||
<layout> |
|||
<group position="left"> |
|||
<button name="play" /> |
|||
<text name="elapsed" /> |
|||
</group> |
|||
<group position="center"> |
|||
<slider name="time" /> |
|||
</group> |
|||
<group position="right"> |
|||
<text name="duration" /> |
|||
<button name="blank" /> |
|||
<button name="mute" /> |
|||
<button name="fullscreen" /> |
|||
</group> |
|||
</layout> |
|||
|
|||
<elements> |
|||
<element name="background" src="background.png" /> |
|||
<element name="capLeft" src="divider.png" /> |
|||
<element name="capRight" src="divider.png" /> |
|||
<element name="divider" src="divider.png" /> |
|||
<element name="blankButton" src="blankButton.png" /> |
|||
<element name="fullscreenButton" src="fullscreenButton.png" /> |
|||
<element name="fullscreenButtonOver" src="fullscreenButtonOver.png" /> |
|||
<element name="muteButton" src="muteButton.png" /> |
|||
<element name="muteButtonOver" src="muteButtonOver.png" /> |
|||
<element name="pauseButton" src="pauseButton.png" /> |
|||
<element name="pauseButtonOver" src="pauseButtonOver.png" /> |
|||
<element name="playButton" src="playButton.png" /> |
|||
<element name="playButtonOver" src="playButtonOver.png" /> |
|||
<element name="timeSliderBuffer" src="timeSliderBuffer.png" /> |
|||
<element name="timeSliderCapLeft" src="timeSliderCapLeft.png" /> |
|||
<element name="timeSliderCapRight" src="timeSliderCapRight.png" /> |
|||
<element name="timeSliderProgress" src="timeSliderProgress.png" /> |
|||
<element name="timeSliderRail" src="timeSliderRail.png" /> |
|||
<element name="normalscreenButton" src="normalscreenButton.png" /> |
|||
<element name="normalscreenButtonOver" src="normalscreenButtonOver.png" /> |
|||
<element name="unmuteButton" src="unmuteButton.png" /> |
|||
<element name="unmuteButtonOver" src="unmuteButtonOver.png" /> |
|||
<element name="volumeSliderRail" src="divider.png" /> |
|||
<element name="volumeSliderProgress" src="divider.png" /> |
|||
</elements> |
|||
</component> |
|||
|
|||
<component name="display"> |
|||
<settings> |
|||
<setting name="bufferinterval" value="250" /> |
|||
<setting name="bufferrotation" value="90" /> |
|||
</settings> |
|||
<elements> |
|||
<element name="background" src="background.png" /> |
|||
<element name="playIcon" src="playIcon.png" /> |
|||
<element name="muteIcon" src="muteIcon.png" /> |
|||
<element name="errorIcon" src="bufferIcon.png" /> |
|||
<element name="bufferIcon" src="bufferIcon.png" /> |
|||
</elements> |
|||
</component> |
|||
|
|||
<component name="dock"> |
|||
<settings> |
|||
<setting name="fontcolor" value="0xFFFFFF" /> |
|||
</settings> |
|||
<elements> |
|||
<element name="button" src="button.png" /> |
|||
</elements> |
|||
</component> |
|||
|
|||
<component name="playlist"> |
|||
<settings> |
|||
<setting name="fontcolor" value="0xEEEEEE" /> |
|||
<setting name="overcolor" value="0xFFFFFF" /> |
|||
<setting name="activecolor" value="0xFFFFFF" /> |
|||
<setting name="backgroundcolor" value="0x333333" /> |
|||
</settings> |
|||
<elements> |
|||
<element name="item" src="item.png" /> |
|||
<element name="itemOver" src="itemOver.png" /> |
|||
<element name="sliderCapBottom" src="sliderCapBottom.png" /> |
|||
<element name="sliderCapTop" src="sliderCapTop.png" /> |
|||
<element name="sliderRail" src="sliderRail.png" /> |
|||
<element name="sliderThumb" src="sliderThumb.png" /> |
|||
</elements> |
|||
</component> |
|||
|
|||
<component name="sharing"> |
|||
<elements> |
|||
<element name="embedIcon" src="embedIcon.png" /> |
|||
<element name="embedScreen" src="embedScreen.png" /> |
|||
<element name="shareIcon" src="shareIcon.png" /> |
|||
<element name="shareScreen" src="shareScreen.png" /> |
|||
</elements> |
|||
</component> |
|||
|
|||
</components> |
|||
|
|||
</skin> |
After Width: | Height: | Size: 172 B |
After Width: | Height: | Size: 171 B |
After Width: | Height: | Size: 108 B |
After Width: | Height: | Size: 105 B |
After Width: | Height: | Size: 100 B |
After Width: | Height: | Size: 97 B |
After Width: | Height: | Size: 749 B |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 4.5 KiB |