summaryrefslogblamecommitdiff
path: root/_layouts/post.liquid
blob: 777f455ccb19ab4bde8a23894a6aed3799eeaac7 (plain) (tree)
1
2
3
4
5
6
7


               
                                   
           
 
          



















                                                 




                                                                             


                                               
                                                      
                                            







                                                                 
                               
 
                                      







                                                         
                               

                                                    









                                            



                                          




                                 


                                         
         
 
       
<!DOCTYPE html>
<html>
    <head>
        {% include "head.liquid" %}
    </head>

    <body>
        <!-- begin hero -->
        <section class="
        hero
        is-primary
        ">
            <!-- begin hero head -->
            <div class="hero-head">
                {% include "nav.liquid" %}
            </div>
            <!-- end hero head -->

            <!-- begin hero body -->
            <div class="hero-body">
                <div class="container is-fluid">
                    <!-- begin title and date -->
                    <h1 class="title">
                        {{ page.title }}
                    </h1>

                    <h2 class="subtitle">
                        {% if page.published_date %}
                            {{ page.published_date | date: "%A, %b %e, %Y" }}
                        {% else %}
                            Unpublished!
                        {% endif %}
                    </h2>
                    <!-- end title and date -->

                    <!-- begin categories and tags -->
                    {% if page.categories %}
                        <p>
                            Categories: 
                            {% for category in page.categories %}
                                <span class="tag">
                                    {{ category | downcase }}
                                </span>
                            {% endfor %}
                        </p>
                    {% endif %}

                    {% if page.tags %}
                        <p>
                            Tags: 
                            {% for tag in page.tags %}
                                <span class="tag">
                                    #{{ tag | downcase }}
                                </span>
                            {% endfor %}
                        </p>
                    {% endif %}
                    <!-- end categories and tags -->

                </div>
            </div>
            <!-- end hero body -->

        </section>
        <!-- end hero -->

        <!-- begin main content -->
        <section class="section">
            <div class="container is-fluid">
                <div class="columns">
                    <div class="content">
                        {{ page.content }}
                    </div>
                </div>
            </div>
        </section>
        <!-- end main content -->

        <footer class="footer">
            {% include "footer.liquid" %}
        </footer>
  </body>

</html>