{% cache article, "article", max_ttl: 600 %}
 
 
   

{{ article.category.name }}

   

{{ article.updated_at | date: '%Y.%m.%d' }}

 
 
   

{{ article.title }}

   
         
   

{{ article.description | newline_to_br | auto_link }}

   {% assign show_index = article | attribute: 'Indexの表示' %}    {% if show_index == '表示' %}      {% assign headings = article.items | headings_per_page %}      {% if headings.size > 0 %}        
         

INDEX

         
               {% for heading in headings %}              
  •                {{ heading['title'] }}              
  •            {% endfor %}          
       
     {% endif %}    {% endif %}  
{% paginate article.items %}   {% for item in paginate.collection %}     {% if item.type == "ItemImageGallery" %}           {% elsif item.type == "ItemImage" %}       {% if item.caption != blank %}         {% assign alt = item.caption %}       {% elsif item.body != blank %}         {% assign alt = item.body %}       {% endif %}           {% elsif item.type == "ItemLink" %}       {% if item.ext1 == "1" %}               {% else %}               {% endif %}     {% elsif item.type == "ImageLink" %}           {% elsif item.type == 'ItemTalkLeft' %}           {% elsif item.type == 'ItemTalkRight' %}           {% elsif item.type == 'Item2galleryType1' or item.type == 'Item2galleryType2' or item.type == 'Item2galleryType3' %}           {% elsif item.type == 'ImageProfile' %}           {% else %}       {{ item.render }}     {% endif %}   {% endfor %}   {% if article.tags != empty %}    
         
  {% endif %} {% endpaginate %} {% render 'custom_pager' %}
 

writer profile

   

{{ article.user.name }}

   
   
     

{{ article.user.bio | newline_to_br | auto_link }}

     {% capture html %}        {% for i in (1..3) %}          {% capture str %}url{{ i }}{% endcapture %}          {% assign url = article.user[str] %}          {% if url != blank %}                          {% if url contains 'youtube.com' %}                              {% elsif url contains 'twitter.com' %}                              {% elsif url contains 'facebook.com' %}                              {% elsif url contains 'instagram.com' %}                              {% elsif url contains 'page.line.me' %}                              {% elsif url contains 'tiktok.com' %}                              {% else %}                              {% endif %}              {{ url }}                      {% endif %}        {% endfor %}      {% endcapture %}      {% if html != blank %}        
{{ html }}
     {% endif %}    
 
{% if site.accept_comment %}  
   

comments

   
     
       {% if article.num_comments > 0 %}          
           {% for comment in article.comments | limit: 5 %}              
               
                 {{ comment.sender }}                                  
               
                 
                   

{{ comment.body | newline_to_br }}

                 
                 {% assign assets = comment.assets | to_array %}                  {% if assets.size > 0 %}                    
                     {% for asset in assets %}                                                                                                {% endfor %}                    
                 {% endif %}                  {% assign replies = comment.replies | to_array %}                  {% if replies.size > 0 %}                    
                     {% for reply in replies %}                        
                         
                           {{ reply.sender }}                                                      
                         
                           

{{ reply.body }}

                         
                         {% assign assets = reply.assets | to_array %}                          {% if assets.size > 0 %}                            
                             {% for asset in reply.assets %}                                                                                                                                {% endfor %}                            
                         {% endif %}                        
                     {% endfor %}                    
                 {% endif %}                
               
                 返信を書く                
             
           {% endfor %}          
       {% else %}          
コメントはまだありません
       {% endif %}        
                     すべてのコメントを見る ({{ article.num_comments | format_number }})                                コメントを書く                  
     
   
 
{% endif %} {% assign articles = article.relevance_articles | limit: 2 %} {% if articles != empty %}  

RELATED

 
   {% for article in articles %}      
                 
           
         
         
           

{{ article.title }}

           
             

{{ article.category.name }}

             

{{ article.published_at | date: '%Y.%m.%d' }}

           
         
       
     
   {% endfor %}  
{% endif %}
{% endcache %}