inf02
About
title: inf02
- author: inf design
- version: N/A
- homepage: http://www.infscripts.com/
- summary: Blue, orange and white, 2 columns centered design.
- adapted_by: Rails Grunt
- adapted_by_url: http://www.railsgrunt.com/mephisto-themes
Layout
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
{% head %}
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
<title>{{ site.title }} :: {% if article %} {{ article.title }} {% else %} {{ site.subtitle }} {% endif %}</title>
{{ 'main' | stylesheet }}
{% endhead %}
<body>
<div id="container">
<div id="header">
<div id="hlogo"> </div>
<h1><a href="/">{{site.title}}</a></h1>
<p id="headertext">{{ site.subtitle }}</p>
</div>
<div id="menu">
<h2>Search</h2>
<form method="get" id="sform" action="/pages">
<label for="q">Search:</label>
<input type="text" id="q" value="" name="q" size="15" />
</form>
<p/>
{{ site.sidebar.body}}
</div>
{{ content_for_layout }}
<div id="footer">
{{ site.title }} is proudly using the <a href="http://www.infscripts.com/">Inf infscripts theme</a> ported by <a href="http://railsgrunt.com/">railsgrunt</a>. Powered by <a href="http://springlog.com/">Springlog</a>
| <a href="/admin">관리자 화면</a>
</div>
</div>
</body>
</html>
Home
- {% include 'shared' %}
Single
- {% include 'shared' %}
Search
- <div id="primary" class="single-post">
<div class="inside">
<div class="primary">
<h1>Search results for <em>"{{search_string}}"</em></h1>
<ul class="dates">
{% for article in articles %}
<li>
<span class="date">{{article.published_at | date: '%d.%m.%y' }}</span>
{{ article | link_to_search_result }}
</li>
{% endfor %}
</ul>
</div>
<div class="secondary" style="display:none">
<h2>Your search results</h2>
<div class="featured">
<p>We hope you found the results your looking for.</p>
</div>
</div>
<div class="clear"></div>
</div>
</div>
Tag
- <div id="primary" class="single-post">
<div class="inside">
<div class="primary">
<h1>Articles tagged with {% for tag in tags %}{% unless forloop.first %} and {% endunless %}<b>"{{ tag }}"</b>{% endfor %}</h1>
<ul class="dates">
{% for article in articles %}
<li>
<span class="date">{{article.published_at | date: '%Y/%M/%d' }}</span>
{{ article | link_to_article }}
</li>
{% endfor %}
</ul>
</div>
<div class="secondary" style="display:none">
<h2>Your search results</h2>
<div class="featured">
<p>We hope you found the results your looking for.</p>
</div>
</div>
<div class="clear"></div>
</div>
</div>
Error
- <h2>Sorry, couldn't find what you were looking for!</h2>
_Shared
- <div id="content">
{% for article in articles %}
<div class="entry hentry entry-{{ article.id }}">
<h2><em>{{ article | link_to_article }}</em>{{ article.published_at | format_date: 'mdy', true }}</h2>
<div class="entrybody xhtmlEditorBody">
{{ article.body }}
</div>
<div class="posted">
<div class="postinfo">
<span class="postedby">Posted by {{ site.owner_name }}</span>
<span class="filedto">
{{ article | linked_tag_list }}
{% if site.allow_trackback? %}
Trackback Address: {{ article || trackback_url }}
{% endif %}
</span>
{% unless articles.size == 1 %}
{% if article.accept_comments %}<a href="{{ article.url }}#comments" class="commentslink">comments »</a>{% endif %}
{% endunless %}
</div>
</div>
</div>
{% endfor %}
{% if articles.size == 1 %}
<div class="commentsblock">
{% include 'comments' %}
</div>
{% endif %}
{{ page_no | pagination }}
</div>
_Comments
- {% if article.comments_count > 0 %}
<h3 id="comments">{{ article.comments_count | pluralize: 'Response' }} to “{{ article.title }}”</h3>
<ol class="commentlist">
{% for comment in article.comments %}
<li class="{% cycle 'alt', '' %}" id="comment-{{ comment.id }}">
<cite>{{ comment.author_link }}</cite> Says:
<br />
<small class="commentmetadata"><a href="#comment-{{ comment.id }}" title="">{{ comment.created_at | format_date: 'mdy', true }} at {{ comment.created_at | format_date: 'time_only' }}</a></small>
{{ comment.body }}
</li>
{% endfor %}
</ol>
{% endif %}
{% if article.accept_comments %}
<h3 id="respond">Leave a Reply</h3>
{% commentform %}
<p>{{ form.name }}<label for="author"><small>Name (required)</small></label></p>
<p>{{ form.url }}<small>Website</small></label></p>
<p>{{ form.email }}<small>Email</small></label></p>
<p>{{ form.body }}</p>
<p>{{ form.submit }}</p>
{% endcommentform %}
{% else %}
<p>Sorry, comments are closed for this article.</p>
{% endif %}
History
Last edited on 06/09/2008 16:37 by deepblue
Comments (0)