Header

  1. View current page

    스프링로그

Profile_img_60x60_06
7 0

inf02

About

 

Layout

  1. <!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">&nbsp;</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

  1. {% include 'shared' %}

 

Single

  1. {% include 'shared' %}

Search

  1.   <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

  1.   <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

  1. <h2>Sorry, couldn't find what you were looking for!</h2>

 

_Shared

  1. <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 &#187;</a>{% endif %}
           {% endunless %}
           </div>
          
           </div>
       </div>
       {% endfor %}

  2. {% if articles.size == 1 %}
      <div class="commentsblock">
        {% include 'comments' %}
      </div>
    {% endif %}

  3.    {{ page_no | pagination }}
    </div>

 

_Comments

  1. {% if article.comments_count > 0 %}
        <h3 id="comments">{{ article.comments_count | pluralize: 'Response' }} to &#8220;{{ article.title }}&#8221;</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)

You must log in to leave a comment. Please sign in.