Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix layout

  • Loading branch information...
commit ba22906c958ea7511d1d732dfc7a99c12f324866 1 parent b49545e
@xerial authored
View
2  _includes/disquss.html
@@ -1 +1 @@
-{% if page.disqus != false %}
+{% if page.disqus != false %}
View
4 _includes/themes/twitter/default.html
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
- <title>{{ page.title }} | Scala Cookbook </title>
+ <title>{{ page.title }} - Scala Cookbook </title>
{% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
@@ -53,7 +53,7 @@
<hr>
<footer>
<div class="row">
- <div class="span10" style="text-align:center;">
+ <div class="span12" style="text-align:center;">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" /></a><span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type"><br/>Scala Cookbook</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://www.xerial.org/leo/" property="cc:attributionName" rel="cc:attributionURL">Taro L. Saito</a> (Twitter <a href="http://twitter.com/#!/taroleo">@taroleo</a>) is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.
</div>
<!-- <div class="span2">
View
22 _includes/themes/twitter/post.html
@@ -1,18 +1,19 @@
<div class="page-header">
{% assign tags_list = page.tags %}
- <h1>{{ page.title }} <small>{{ page.description }}
+ <h1>{{ page.title }} <small>{{ page.description }} </small>
{% for tag in tags_list %}
<a class="label label-info" href="{{ BASE_PATH }}/tags.html#{{ page.tags[0] }}-ref">{{ page.tags }}</a>
{% endfor %}
-</small> </h1>
+ <small class="pull-right">Published {{ page.date | date_to_long_string }}</small>
+ </h1>
</div>
<div class="row">
- <div class="span8">
+ <div class="span12">
{{ content }}
<hr>
<div class="pagination">
- <ul>
+ <ul style="white-space:nowrap;">
{% if page.previous %}
<li class="prev"><a href="{{ BASE_PATH }}{{ page.previous.url }}" title="{{ page.previous.title }}">&larr; Previous</a></li>
{% else %}
@@ -27,18 +28,5 @@
</ul>
</div>
<hr>
- {% include JB/comments %}
- </div>
-
- <div class="span4">
- <h4>Published</h4>
- <div class="date"><span>{{ page.date | date_to_long_string }}</span></div>
-
- {% unless page.tags == empty %}
- <h4>Tags</h4>
- <ul class="tag_box">
- {% include JB/tags_list %}
- </ul>
- {% endunless %}
</div>
</div>
View
2  _posts/2012-06-27-loan-pattern.md
@@ -3,7 +3,7 @@ layout: post
title: "Loan Pattern"
description: "借りたら返す"
category: recipes
-tags: [design-pattern]
+tags: [DesignPattern]
---
{% include JB/setup %}
View
2  search.html
@@ -1,7 +1,7 @@
---
layout: default
title: Search
-disquss: false
+disqus: false
---
View
9 tags.html
@@ -9,19 +9,18 @@
{% for tag in site.tags %}
<div id="{{ tag[0] }}-ref" class="row-fluid category">
-<div class="span8">
+<div class="span12">
<h3 style="text-transform:capitalize;">{{ tag[0] }}</h3>
<div class="well">
- <dl>
+ <dl class="dl-horizontal">
{% assign pages_list = tag[1] %}
{% for node in pages_list %}
{% if node.title != null and node.category == "recipes" %}
{% if group == null or group == node.group %}
- <dt>
+ <dt style="width:200px; float:left; text-align:left; ">
<a href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a>
- <small style="color:#999; font-weight:normal;">{{ node.date | date:"%Y-%m-%d" }}</small>
</dt>
- <dd>{% if node.description %} {{node.description}} {% endif %}</dd>
+ <dd>{% if node.description %} {{node.description}} {% endif %} <small style="color:#999; font-weight:normal;">{{ node.date | date:"%Y-%m-%d" }}</small> </dd>
{% endif %}
{% endif %}
{% endfor %}
Please sign in to comment.
Something went wrong with that request. Please try again.