Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Integrating gem layouts

  • Loading branch information...
commit fe64a2485733ed1fe852ce5274139d0e0f32d25e 1 parent 409a279
Philip (flip) Kromer authored
View
4 .gitignore
@@ -12,6 +12,7 @@ nohup.out
/**/log/*
/**/cache/*
/**/db/*.sqlite3
+tmp
*DONTVERSION*
config/*private*
a.out
@@ -28,3 +29,6 @@ pkg
.settings
.tasks-cache
*.tmproj
+
+_drafts/
+_site/
View
18 _layouts/default.html
@@ -9,8 +9,8 @@
<meta name="viewport" content="width=940" />
<meta name="keywords" content="{{ page.keywords | join:"," }},{{ site.keywords | join:"," }},ruby,gem"/>
<meta name="description" content="{{ site.description }}"/>
- <!-- <link rel="alternate" type="application/atom+xml" href="http://feeds.feedburner.com/{{ site.gemuser }}-github-com-{{ site.gemname }}" title="{{ site.gemuser }}/{{ site.gemname }}" /> -->
- <link rel="alternate" type="application/atom+xml" href="/atom.xml" title="{{ site.gemuser }}/{{ site.gemname }}" />
+ <!-- <link rel="alternate" type="application/atom+xml" href="http://feeds.feedburner.com/{{ site.gemuser }}-github-com/{{ site.gemname }}" title="{{ site.gemuser }}/{{ site.gemname }} news" /> -->
+ <link rel="alternate" type="application/atom+xml" href="atom.xml" title="{{ site.gemuser }}/{{ site.gemname }} news" />
<link rel="shortcut icon" href="/favicon.ico" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/css/ie.css" media="screen, projection" />
@@ -18,6 +18,7 @@
<link rel="stylesheet" type="text/css" href="/css/print.css" media="print" />
<link rel="stylesheet" type="text/css" href="/css/main.css" media="screen, projection" />
<link rel="stylesheet" type="text/css" href="/css/syntax.css" />
+ <link rel="stylesheet" type="text/css" href="gem.css" media="screen, projection" />
</head>
<body>
@@ -26,9 +27,9 @@
<a href="/">{{ site.gemuser }}/{{ site.gemname }}</a>
&middot; <a class="extra" href="http://github.com/{{ site.gemuser }}/{{ site.gemname }}">source code</a>
{% for segment in site.header_files %}
- &middot; <a class="extra" href="/{{ segment }}.html">{{ segment | downcase }}</a>
+ &middot; <a class="extra" href="{{ segment }}.html">{{ segment | downcase }}</a>
{% endfor %}
- </div>
+ </div>
<div class="download"><a href="http://github.com/{{ site.gemuser }}/{{ site.gemname }}/zipball/master"><img border="0" width="72" src="/images/zip.png"></a><a href="http://github.com/{{ site.gemuser }}/{{ site.gemname }}/tarball/master"><img border="0" width="72" src="/images/tar.png"></a><a href="http://gems.github.com/gems/{{ site.gemuser }}-{{ site.gemname }}-{{ site.gemversion }}.gem"><img border="0" width="72" src="/images/gem.png"></a></div>
{{ content | textilize }}
@@ -52,9 +53,14 @@
</div>
<div class="rss">
<!-- http://feeds.feedburner.com/{{ site.gemuser }}-github-com-{{ site.gemname }} -->
- <a href="/atom.xml"><img src="/images/rss.png" alt="Subscribe to RSS Feed" /></a>
+ <!-- <a href="http://feeds.feedburner.com/{{ site.gemuser }}-github-com/{{ site.gemname }}" title="{{ site.gemuser }}/{{ site.gemname }} news" /> -->
+ <a href="atom.xml"><img src="/images/rss.png" alt="Subscribe to RSS Feed" /></a>
+ </div>
+ <br class="clear">
+ <div class="credits">
+ {{ site.credits }}
+ <p >Thanks to <a href="http://github.com/mojombo/">github.com/mojombo</a> for the swanky HTML layout.</p>
</div>
- <p class="clear">Thanks to <a href="http://github.com/mojombo/">github.com/mojombo</a> for the swanky HTML layout.</p>
</div>
</div>
View
15 css/main.css
@@ -127,28 +127,25 @@ h2 { line-height: 22px; }
/*
/*****************************************************************************/
-.download { height: 72px ; float: right;
+.download {
+ height: 72px ; float: right;
border: 1px solid #ddd ;
border-width: 0 0 1px 0 ;
-
- }
+ }
h1.gemheader {
margin: 0px 0 0.5em -38px ;
- font-size: 50px ; line-height: 1.0 ;
+ text-indent: 38px ;
height: 72px ;
padding: 20px 0 14px 0px;
- text-indent: 38px ;
background: url('/images/edamame-72.png') no-repeat 0px 23px ;
+ font-size: 50px ; line-height: 1.0 ;
border: 0px none #fff;
text-align: left ;
/* background-color: #fee ; */
}
-/* .edamame { float:left ; height: 92px ; width:350px; margin-left: -40px ; padding-left: 40px; padding-bottom: 20px ; background: url('/images/edamame-72.png') no-repeat 0px 25px ;} */
h1.gemheader>.small { font-size: 0.60em }
h1.gemheader a { color: black; text-decoration: none; }
.description { font-size: 1.2em; font-weight: bold;}
-/* #footer { text-align:center; padding-top:30px; font-style: italic; } */
-
/*****************************************************************************/
/*
@@ -194,6 +191,8 @@ ul.posts span {
#footer .rss { float: right; margin-right: -.2em; margin-top: 1.33em; }
#footer .rss img { border: 0; }
+#footer .credits p { margin-top: 0.5em }
+
.list.aligned a { width: 80px ; display: inline-block ; }
.list.aligned60 a { width: 60px ; display: inline-block ; }
View
BIN  images/comments-blue.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/comments.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/flickr.com_50824323_belgianchocolate.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/wukong.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/www.curtbusse.com_okavango_page1_oka008-trans.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/www.curtbusse.com_okavango_page1_oka008.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
9 javascripts/application.js
@@ -1,9 +1,12 @@
jQuery.fn.accordion = function(){
$(this).toggleClass("closed");
$(this).parent(".toggle").find('> :not(h2)').toggle();
- console.log("clicked");
+ // console.log("clicked");
}
+function collapse_accordions() {
+ $(".toggle h2").accordion();
+}
// ***************************************************************************
//
@@ -11,5 +14,7 @@ jQuery.fn.accordion = function(){
//
$(document).ready(function(){
$(".toggle h2").click(function(){ $(this).accordion(); });
- // $(".toggle h2").accordion();
+ // collapse_accordions()
});
+
+$('h1.gemheader').click(function(){ collapse_accordions(); });
View
16 news.html
@@ -3,18 +3,4 @@
title: mrflip.github.com/edamame - News
---
-<div id="home">
- <!-- <h1>Sticky</h1> -->
- <!-- <ul class="posts"> -->
- <!-- <li><span>30 Apr 2009</span> &raquo; <a href="http://link">link text</a></li> -->
- <!-- </ul> -->
-
- <h1>Edamame News</h1>
- <ul class="posts">
- {% for post in site.posts %}
- <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
- {% endfor %}
- </ul>
-
-</div>
-
+{% include news.html %}

0 comments on commit fe64a24

Please sign in to comment.
Something went wrong with that request. Please try again.