liddlelab-theme 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +2 -0
- data/_includes/adsense-under-header.html +12 -0
- data/_includes/featuredbox.html +55 -0
- data/_includes/giscus.html +15 -0
- data/_includes/pagination.html +25 -0
- data/_includes/postbox.html +51 -0
- data/_includes/search-lunr.html +21 -0
- data/_includes/share.html +25 -0
- data/_layouts/archive.html +21 -0
- data/_layouts/blog.html +168 -0
- data/_layouts/categories.html +23 -0
- data/_layouts/default.html +117 -0
- data/_layouts/page.html +24 -0
- data/_layouts/post.html +180 -0
- data/_layouts/tags.html +23 -0
- data/assets/css/main.css +572 -0
- data/assets/img/android-chrome-192x192.png +0 -0
- data/assets/img/android-chrome-512x512.png +0 -0
- data/assets/img/apple-touch-icon.png +0 -0
- data/assets/img/favicon-16x16.png +0 -0
- data/assets/img/favicon-32x32.png +0 -0
- data/assets/img/favicon.ico +0 -0
- data/assets/img/logo.png +0 -0
- data/assets/img/sample.jpg +0 -0
- data/assets/img/sample2.jpg +0 -0
- data/assets/js/lunr.js +2977 -0
- data/assets/js/lunrsearchengine.js +89 -0
- data/blog/index.html +54 -0
- metadata +195 -0
    
        checksums.yaml
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            SHA256:
         | 
| 3 | 
            +
              metadata.gz: 2ab4bf64d80bd50cd89c00e5fee43fbda8aea04b68413012356bf596ebe486e6
         | 
| 4 | 
            +
              data.tar.gz: a696428a6295fd1907a3b821918d52cd1238aa66734e115452116c07a84a475b
         | 
| 5 | 
            +
            SHA512:
         | 
| 6 | 
            +
              metadata.gz: 05acc23a6c33f7e22b0a7f9c70aaa17e5800cfb444aeca46c13d2c01ff70c434268f1915d028d34a727d176dbc6e8a591149a916f10b901ac77a53149302e347
         | 
| 7 | 
            +
              data.tar.gz: 2b8ac14f5f0f53d7c73cb681d2993523ce186461c7ab8a647b5953c38bac41e2d0830089af676af4a3a95beceb18d0a57e6069bafb2c09af75569bb9d47349fc
         | 
    
        data/LICENSE
    ADDED
    
    | @@ -0,0 +1,21 @@ | |
| 1 | 
            +
            MIT License
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            Copyright (c) 2025 Mike
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Permission is hereby granted, free of charge, to any person obtaining a copy
         | 
| 6 | 
            +
            of this software and associated documentation files (the "Software"), to deal
         | 
| 7 | 
            +
            in the Software without restriction, including without limitation the rights
         | 
| 8 | 
            +
            to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         | 
| 9 | 
            +
            copies of the Software, and to permit persons to whom the Software is
         | 
| 10 | 
            +
            furnished to do so, subject to the following conditions:
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            The above copyright notice and this permission notice shall be included in all
         | 
| 13 | 
            +
            copies or substantial portions of the Software.
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         | 
| 16 | 
            +
            IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         | 
| 17 | 
            +
            FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         | 
| 18 | 
            +
            AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         | 
| 19 | 
            +
            LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         | 
| 20 | 
            +
            OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         | 
| 21 | 
            +
            SOFTWARE.
         | 
    
        data/README.md
    ADDED
    
    
| @@ -0,0 +1,12 @@ | |
| 1 | 
            +
            <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
         | 
| 2 | 
            +
            <!-- Under Header -->
         | 
| 3 | 
            +
            <ins class="adsbygoogle"
         | 
| 4 | 
            +
                style="display:block"
         | 
| 5 | 
            +
                data-ad-client="{{site.adsense-data-ad-client}}"
         | 
| 6 | 
            +
                data-ad-slot="{{site.adsense-data-ad-slot}}"
         | 
| 7 | 
            +
                data-ad-format="auto"
         | 
| 8 | 
            +
                data-full-width-responsive="true"></ins>
         | 
| 9 | 
            +
            <script>
         | 
| 10 | 
            +
            (adsbygoogle = window.adsbygoogle || []).push({});
         | 
| 11 | 
            +
            </script>
         | 
| 12 | 
            +
            <br/>
         | 
| @@ -0,0 +1,55 @@ | |
| 1 | 
            +
            <!-- begin post -->
         | 
| 2 | 
            +
            {% assign author = site.authors[post.author] %}
         | 
| 3 | 
            +
            <div class="col-md-6 mb-30px">
         | 
| 4 | 
            +
                <div class="listfeaturedtag h-100">
         | 
| 5 | 
            +
                    <div class="row h-100">
         | 
| 6 | 
            +
                        <div class="col-12 col-md-12 col-lg-5 pr-lg-0">
         | 
| 7 | 
            +
                            <div class="h-100">
         | 
| 8 | 
            +
                                <div class="wrapthumbnail">
         | 
| 9 | 
            +
                                    <a href="{{ site.baseurl }}{{ post.url }}">
         | 
| 10 | 
            +
                                        <img class="featured-box-img-cover" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}">
         | 
| 11 | 
            +
                                    </a>
         | 
| 12 | 
            +
                                </div>
         | 
| 13 | 
            +
                            </div>
         | 
| 14 | 
            +
                        </div>
         | 
| 15 | 
            +
                        <div class="col-12 col-md-12 col-lg-7">
         | 
| 16 | 
            +
                            <div class="h-100 card-group">
         | 
| 17 | 
            +
                                <div class="card bg-dark">
         | 
| 18 | 
            +
                                    <div class="card-body">
         | 
| 19 | 
            +
                                        <h2 class="card-title">
         | 
| 20 | 
            +
                                            <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
         | 
| 21 | 
            +
                                            {% if post.rating %}
         | 
| 22 | 
            +
                                            <div class="mb-2 mt-2 font-weight-normal">
         | 
| 23 | 
            +
                                            {% include star_rating_postbox.html %}
         | 
| 24 | 
            +
                                            </div>
         | 
| 25 | 
            +
                                            {% endif %}
         | 
| 26 | 
            +
                                        </h2>
         | 
| 27 | 
            +
             | 
| 28 | 
            +
                                        <h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:25 }}</h4>
         | 
| 29 | 
            +
                                    </div>
         | 
| 30 | 
            +
                                    <div class="card-footer b-0 bg-dark mt-auto">
         | 
| 31 | 
            +
                                        <div class="wrapfooter">
         | 
| 32 | 
            +
                                            {% if post.author %}
         | 
| 33 | 
            +
                                            <span class="meta-footer-thumb">
         | 
| 34 | 
            +
                                            {% if author.avatar %}
         | 
| 35 | 
            +
                                            <img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
         | 
| 36 | 
            +
                                            {% else %}
         | 
| 37 | 
            +
                                            <img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
         | 
| 38 | 
            +
                                            {% endif %}
         | 
| 39 | 
            +
                                            </span>
         | 
| 40 | 
            +
                                            <span class="author-meta">
         | 
| 41 | 
            +
                                            <span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span><br/>
         | 
| 42 | 
            +
                                            {% endif %}
         | 
| 43 | 
            +
                                            <span class="post-date">{{ post.date | date_to_string }}</span>
         | 
| 44 | 
            +
                                            </span>
         | 
| 45 | 
            +
                                            <span class="post-read-more"><a href="{{ site.baseurl }}/{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
         | 
| 46 | 
            +
                                            <div class="clearfix"></div>
         | 
| 47 | 
            +
                                        </div>
         | 
| 48 | 
            +
                                    </div>
         | 
| 49 | 
            +
                                </div>
         | 
| 50 | 
            +
                            </div>
         | 
| 51 | 
            +
                        </div>
         | 
| 52 | 
            +
                    </div>
         | 
| 53 | 
            +
                </div>
         | 
| 54 | 
            +
            </div>
         | 
| 55 | 
            +
            <!-- end post -->
         | 
| @@ -0,0 +1,15 @@ | |
| 1 | 
            +
            <script src="https://giscus.app/client.js"
         | 
| 2 | 
            +
                    data-repo="[ENTER REPO HERE]"
         | 
| 3 | 
            +
                    data-repo-id="[ENTER REPO ID HERE]"
         | 
| 4 | 
            +
                    data-category="[ENTER CATEGORY NAME HERE]"
         | 
| 5 | 
            +
                    data-category-id="[ENTER CATEGORY ID HERE]"
         | 
| 6 | 
            +
                    data-mapping="pathname"
         | 
| 7 | 
            +
                    data-strict="0"
         | 
| 8 | 
            +
                    data-reactions-enabled="1"
         | 
| 9 | 
            +
                    data-emit-metadata="0"
         | 
| 10 | 
            +
                    data-input-position="bottom"
         | 
| 11 | 
            +
                    data-theme="dark"
         | 
| 12 | 
            +
                    data-lang="en"
         | 
| 13 | 
            +
                    crossorigin="anonymous"
         | 
| 14 | 
            +
                    async>
         | 
| 15 | 
            +
            </script>
         | 
| @@ -0,0 +1,25 @@ | |
| 1 | 
            +
            {% if paginator.total_pages > 1 %}
         | 
| 2 | 
            +
            <div class="pagination">
         | 
| 3 | 
            +
              {% if paginator.previous_page %}
         | 
| 4 | 
            +
                <a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a>
         | 
| 5 | 
            +
              {% else %}
         | 
| 6 | 
            +
                <span>« Prev</span>
         | 
| 7 | 
            +
              {% endif %}
         | 
| 8 | 
            +
             | 
| 9 | 
            +
              {% for page in (1..paginator.total_pages) %}
         | 
| 10 | 
            +
                {% if page == paginator.page %}
         | 
| 11 | 
            +
                  <span class="ml-1 mr-1">{{ page }}</span>
         | 
| 12 | 
            +
                {% elsif page == 1 %}
         | 
| 13 | 
            +
                  <a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
         | 
| 14 | 
            +
                {% else %}
         | 
| 15 | 
            +
                  <a class="ml-1 mr-1" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
         | 
| 16 | 
            +
                {% endif %}
         | 
| 17 | 
            +
              {% endfor %}
         | 
| 18 | 
            +
             | 
| 19 | 
            +
              {% if paginator.next_page %}
         | 
| 20 | 
            +
                <a class="ml-1 mr-1" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a>
         | 
| 21 | 
            +
              {% else %}
         | 
| 22 | 
            +
                <span>Next »</span>
         | 
| 23 | 
            +
              {% endif %}
         | 
| 24 | 
            +
            </div>
         | 
| 25 | 
            +
            {% endif %}
         | 
| @@ -0,0 +1,51 @@ | |
| 1 | 
            +
            <!-- begin post -->
         | 
| 2 | 
            +
            {% assign author = site.authors[post.author] %}
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            <div class="col-lg-4 col-md-6 mb-30px card-group">
         | 
| 5 | 
            +
                <div class="card h-100 bg-dark">
         | 
| 6 | 
            +
                    <div class="maxthumb">
         | 
| 7 | 
            +
                        <a href="{{ site.baseurl }}{{ post.url }}">
         | 
| 8 | 
            +
                            {% if post.image %}
         | 
| 9 | 
            +
             | 
| 10 | 
            +
                                {% if site.lazyimages == "enabled" %}
         | 
| 11 | 
            +
                                    <img class="img-fluid lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}" alt="{{ post.title }}">
         | 
| 12 | 
            +
                                {% else %}
         | 
| 13 | 
            +
                                    <img class="img-fluid" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}" alt="{{ post.title }}">
         | 
| 14 | 
            +
                                {% endif %}
         | 
| 15 | 
            +
             | 
| 16 | 
            +
                            {% endif %}
         | 
| 17 | 
            +
                        </a>
         | 
| 18 | 
            +
                    </div>
         | 
| 19 | 
            +
                    <div class="card-body">
         | 
| 20 | 
            +
                        <h2 class="card-title">
         | 
| 21 | 
            +
                            <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
         | 
| 22 | 
            +
                            {% if post.rating %}
         | 
| 23 | 
            +
                            <div class="mb-2 mt-2 font-weight-normal">
         | 
| 24 | 
            +
                            {% include star_rating_postbox.html %}
         | 
| 25 | 
            +
                            </div>
         | 
| 26 | 
            +
                            {% endif %}
         | 
| 27 | 
            +
                        </h2>
         | 
| 28 | 
            +
                        <h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:30 }}</h4>
         | 
| 29 | 
            +
                    </div>
         | 
| 30 | 
            +
                    <div class="card-footer bg-dark">
         | 
| 31 | 
            +
                        <div class="wrapfooter">
         | 
| 32 | 
            +
                            {% if post.author %}
         | 
| 33 | 
            +
                            <span class="meta-footer-thumb">
         | 
| 34 | 
            +
                            {% if author.avatar %}
         | 
| 35 | 
            +
                            <img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
         | 
| 36 | 
            +
                            {% else %}
         | 
| 37 | 
            +
                            <img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
         | 
| 38 | 
            +
                            {% endif %}
         | 
| 39 | 
            +
                            </span>
         | 
| 40 | 
            +
                            <span class="author-meta">
         | 
| 41 | 
            +
                            <span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span><br/>
         | 
| 42 | 
            +
                            {% endif %}
         | 
| 43 | 
            +
                            <span class="post-date">{{ post.date | date_to_string }}</span>
         | 
| 44 | 
            +
                            </span>
         | 
| 45 | 
            +
                            <span class="post-read-more"><a href="{{ site.baseurl }}{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
         | 
| 46 | 
            +
                            <div class="clearfix"></div>
         | 
| 47 | 
            +
                        </div>
         | 
| 48 | 
            +
                    </div>
         | 
| 49 | 
            +
                </div>
         | 
| 50 | 
            +
            </div>
         | 
| 51 | 
            +
            <!-- end post -->
         | 
| @@ -0,0 +1,21 @@ | |
| 1 | 
            +
            <script src="{{site.baseurl}}/assets/js/lunr.js"></script>
         | 
| 2 | 
            +
             | 
| 3 | 
            +
             | 
| 4 | 
            +
            <style>
         | 
| 5 | 
            +
                .lunrsearchresult .title {color: #d9230f;}
         | 
| 6 | 
            +
                .lunrsearchresult .url {color: silver;}
         | 
| 7 | 
            +
                .lunrsearchresult a {display: block; color: #777;}
         | 
| 8 | 
            +
                .lunrsearchresult a:hover, .lunrsearchresult a:focus {text-decoration: none;}
         | 
| 9 | 
            +
                .lunrsearchresult a:hover .title {text-decoration: underline;}
         | 
| 10 | 
            +
            </style>
         | 
| 11 | 
            +
             | 
| 12 | 
            +
             | 
| 13 | 
            +
            <form class="bd-search" onSubmit="return lunr_search(document.getElementById('lunrsearch').value);">
         | 
| 14 | 
            +
                <input type="text" class="form-control text-small launch-modal-search" id="lunrsearch" name="q" maxlength="255" value="" placeholder="Type and enter..."/>
         | 
| 15 | 
            +
            </form>
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            <div id="lunrsearchresults">
         | 
| 18 | 
            +
                <ul></ul>
         | 
| 19 | 
            +
            </div>
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            <script src="{{site.baseurl}}/assets/js/lunrsearchengine.js"></script>
         | 
| @@ -0,0 +1,25 @@ | |
| 1 | 
            +
            <div class="share sticky-top sticky-top-offset">
         | 
| 2 | 
            +
                <p>
         | 
| 3 | 
            +
                    Share
         | 
| 4 | 
            +
                </p>
         | 
| 5 | 
            +
                <ul>
         | 
| 6 | 
            +
                    <li class="ml-1 mr-1">
         | 
| 7 | 
            +
                        <a target="_blank" href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ page.url | absolute_url }}" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
         | 
| 8 | 
            +
                            <i class="fab fa-twitter"></i>
         | 
| 9 | 
            +
                        </a>
         | 
| 10 | 
            +
                    </li>
         | 
| 11 | 
            +
             | 
| 12 | 
            +
                    <li class="ml-1 mr-1">
         | 
| 13 | 
            +
                        <a target="_blank" href="https://facebook.com/sharer.php?u={{ page.url | absolute_url }}" onclick="window.open(this.href, 'facebook-share', 'width=550,height=435');return false;">
         | 
| 14 | 
            +
                            <i class="fab fa-facebook-f"></i>
         | 
| 15 | 
            +
                        </a>
         | 
| 16 | 
            +
                    </li>
         | 
| 17 | 
            +
             | 
| 18 | 
            +
                    <li class="ml-1 mr-1">
         | 
| 19 | 
            +
                        <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" onclick="window.open(this.href, 'width=550,height=435');return false;">
         | 
| 20 | 
            +
                            <i class="fab fa-linkedin-in"></i>
         | 
| 21 | 
            +
                        </a>
         | 
| 22 | 
            +
                    </li>
         | 
| 23 | 
            +
             | 
| 24 | 
            +
                </ul>
         | 
| 25 | 
            +
            </div>
         | 
| @@ -0,0 +1,21 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            layout: default
         | 
| 3 | 
            +
            title: Archive
         | 
| 4 | 
            +
            ---
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            <!-- Begin List Posts
         | 
| 7 | 
            +
            ================================================== -->
         | 
| 8 | 
            +
            <section class="recent-posts">
         | 
| 9 | 
            +
            <div class="section-title">
         | 
| 10 | 
            +
                <h2>Archive of posts with <span>{{ page.type }} '{{ page.title }}'</span></h2>
         | 
| 11 | 
            +
            </div>
         | 
| 12 | 
            +
            <div class="row listrecent">
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            {% for post in page.posts %}
         | 
| 15 | 
            +
             | 
| 16 | 
            +
                {% include postbox.html %}
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            {% endfor %}
         | 
| 19 | 
            +
             | 
| 20 | 
            +
            </div>
         | 
| 21 | 
            +
            </section>
         | 
    
        data/_layouts/blog.html
    ADDED
    
    | @@ -0,0 +1,168 @@ | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html lang="en">
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            <head>
         | 
| 5 | 
            +
                <meta charset="utf-8">
         | 
| 6 | 
            +
                <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
         | 
| 7 | 
            +
             | 
| 8 | 
            +
                <link rel="icon" href="/assets/img/logo.png" />
         | 
| 9 | 
            +
                <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
         | 
| 10 | 
            +
                    integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
         | 
| 11 | 
            +
                <link rel="stylesheet" href="/assets/css/main.css" />
         | 
| 12 | 
            +
                <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
         | 
| 13 | 
            +
                        integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
         | 
| 14 | 
            +
             | 
| 15 | 
            +
                {% if jekyll.environment == 'production' %}
         | 
| 16 | 
            +
                <!-- change your GA id in _config.yml -->
         | 
| 17 | 
            +
                <script>
         | 
| 18 | 
            +
                    (function (i, s, o, g, r, a, m) {
         | 
| 19 | 
            +
                        i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
         | 
| 20 | 
            +
                            (i[r].q = i[r].q || []).push(arguments)
         | 
| 21 | 
            +
                        }, i[r].l = 1 * new Date(); a = s.createElement(o),
         | 
| 22 | 
            +
                            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
         | 
| 23 | 
            +
                    })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
         | 
| 24 | 
            +
                    ga('create', '{{site.google_analytics}}', 'auto');
         | 
| 25 | 
            +
                    ga('send', 'pageview');
         | 
| 26 | 
            +
                </script>
         | 
| 27 | 
            +
                {% endif %}
         | 
| 28 | 
            +
            </head>
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            {% capture layout %}{% if page.layout %}layout-{{ page.layout }}{% endif %}{% endcapture %}
         | 
| 31 | 
            +
             | 
| 32 | 
            +
            <body class="{{layout}}">
         | 
| 33 | 
            +
                <nav class="navbar navbar-expand-lg navbar-dark fixed-top">
         | 
| 34 | 
            +
             | 
| 35 | 
            +
                    <a class="navbar-brand" href="{{ site.baseurl }}/index.html">
         | 
| 36 | 
            +
                        <h1 class="sitetitle">{{ site.name }} >_</h1>
         | 
| 37 | 
            +
                    </a>
         | 
| 38 | 
            +
             | 
| 39 | 
            +
                    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#liddlenavbar"
         | 
| 40 | 
            +
                        aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
         | 
| 41 | 
            +
                        <span class="navbar-toggler-icon"></span>
         | 
| 42 | 
            +
                    </button>
         | 
| 43 | 
            +
             | 
| 44 | 
            +
                    <div class="collapse navbar-collapse" id="liddlenavbar">
         | 
| 45 | 
            +
             | 
| 46 | 
            +
                        <!-- Begin Menu -->
         | 
| 47 | 
            +
             | 
| 48 | 
            +
                        <ul class="navbar-nav ml-auto">
         | 
| 49 | 
            +
             | 
| 50 | 
            +
                            {% if page.url == "/" %}
         | 
| 51 | 
            +
                            <li class="nav-item active">
         | 
| 52 | 
            +
                                {% else %}
         | 
| 53 | 
            +
                            <li class="nav-item">
         | 
| 54 | 
            +
                                {% endif %}
         | 
| 55 | 
            +
             | 
| 56 | 
            +
                                <a class="nav-link" href="{{ site.baseurl }}/">Home</a>
         | 
| 57 | 
            +
                            </li>
         | 
| 58 | 
            +
             | 
| 59 | 
            +
                            {% if page.url == "/blog" %}
         | 
| 60 | 
            +
                            <li class="nav-item active">
         | 
| 61 | 
            +
                                {% else %}
         | 
| 62 | 
            +
                            <li class="nav-item">
         | 
| 63 | 
            +
                                {% endif %}
         | 
| 64 | 
            +
                                <a class="nav-link" href="{{ site.baseurl }}/blog">Blog</a>
         | 
| 65 | 
            +
                            </li>
         | 
| 66 | 
            +
             | 
| 67 | 
            +
                            {% if page.url == "/about" %}
         | 
| 68 | 
            +
                            <li class="nav-item active">
         | 
| 69 | 
            +
                                {% else %}
         | 
| 70 | 
            +
                            <li class="nav-item">
         | 
| 71 | 
            +
                                {% endif %}
         | 
| 72 | 
            +
                                <a class="nav-link" href="{{ site.baseurl }}/about">About</a>
         | 
| 73 | 
            +
                            </li>
         | 
| 74 | 
            +
                        </ul>
         | 
| 75 | 
            +
             | 
| 76 | 
            +
                        <!-- End Menu -->
         | 
| 77 | 
            +
             | 
| 78 | 
            +
                    </div>
         | 
| 79 | 
            +
                </nav>
         | 
| 80 | 
            +
                <!-- End Navigation
         | 
| 81 | 
            +
                ================================================== -->
         | 
| 82 | 
            +
             | 
| 83 | 
            +
                <div class="site-content">
         | 
| 84 | 
            +
             | 
| 85 | 
            +
                    <div class="container">
         | 
| 86 | 
            +
             | 
| 87 | 
            +
                        <!-- Content
         | 
| 88 | 
            +
                    ================================================== -->
         | 
| 89 | 
            +
                        <div class="main-content">
         | 
| 90 | 
            +
                            <!-- Featured
         | 
| 91 | 
            +
            ================================================== -->
         | 
| 92 | 
            +
            <section class="featured-posts">
         | 
| 93 | 
            +
                <div class="section-title">
         | 
| 94 | 
            +
                    <h2><span>Featured</span></h2>
         | 
| 95 | 
            +
                </div>
         | 
| 96 | 
            +
                <div class="row">
         | 
| 97 | 
            +
             | 
| 98 | 
            +
                {% for post in site.posts %}
         | 
| 99 | 
            +
             | 
| 100 | 
            +
                    {% if post.featured == true %}
         | 
| 101 | 
            +
             | 
| 102 | 
            +
                        {% include featuredbox.html %}
         | 
| 103 | 
            +
             | 
| 104 | 
            +
                    {% endif %}
         | 
| 105 | 
            +
             | 
| 106 | 
            +
                {% endfor %}
         | 
| 107 | 
            +
             | 
| 108 | 
            +
                </div>
         | 
| 109 | 
            +
            </section>
         | 
| 110 | 
            +
             | 
| 111 | 
            +
            <!-- Posts Index
         | 
| 112 | 
            +
            ================================================== -->
         | 
| 113 | 
            +
            <section class="recent-posts">
         | 
| 114 | 
            +
             | 
| 115 | 
            +
                <div class="section-title">
         | 
| 116 | 
            +
             | 
| 117 | 
            +
                    <h2><span>All Stories</span></h2>
         | 
| 118 | 
            +
             | 
| 119 | 
            +
                </div>
         | 
| 120 | 
            +
             | 
| 121 | 
            +
                <div class="row listrecent">
         | 
| 122 | 
            +
             | 
| 123 | 
            +
                    {% for post in paginator.posts %}
         | 
| 124 | 
            +
             | 
| 125 | 
            +
                    {% include postbox.html %}
         | 
| 126 | 
            +
             | 
| 127 | 
            +
                    {% endfor %}
         | 
| 128 | 
            +
             | 
| 129 | 
            +
                </div>
         | 
| 130 | 
            +
             | 
| 131 | 
            +
            </section>
         | 
| 132 | 
            +
             | 
| 133 | 
            +
            <!-- Pagination
         | 
| 134 | 
            +
            ================================================== -->
         | 
| 135 | 
            +
            <div class="bottompagination">
         | 
| 136 | 
            +
            <div class="pointerup"><i class="fa fa-caret-up"></i></div>
         | 
| 137 | 
            +
            <span class="navigation" role="navigation">
         | 
| 138 | 
            +
                {% include pagination.html %}
         | 
| 139 | 
            +
            </span>
         | 
| 140 | 
            +
            </div>
         | 
| 141 | 
            +
             | 
| 142 | 
            +
                        </div>
         | 
| 143 | 
            +
                        <!-- Begin Footer
         | 
| 144 | 
            +
                    ================================================== -->
         | 
| 145 | 
            +
                        <footer class="footer">
         | 
| 146 | 
            +
                            <div class="container">
         | 
| 147 | 
            +
                                <div class="row">
         | 
| 148 | 
            +
                                    <div class="col-md-6 col-sm-6 text-center text-lg-left">
         | 
| 149 | 
            +
                                        Copyright © {{ site.time | date: "%Y" }} {{ site.name }}
         | 
| 150 | 
            +
                                    </div>
         | 
| 151 | 
            +
                                    <div class="col-md-6 col-sm-6 text-center text-lg-right">
         | 
| 152 | 
            +
                                        <a target="_blank" href="https://github.com/mikeliddle/LiddleLabTheme/">LiddleLab Jekyll
         | 
| 153 | 
            +
                                            Theme</a> by <a target="_blank" href="https://github.com/mikeliddle">mikeliddle</a>
         | 
| 154 | 
            +
                                    </div>
         | 
| 155 | 
            +
                                </div>
         | 
| 156 | 
            +
                            </div>
         | 
| 157 | 
            +
                        </footer>
         | 
| 158 | 
            +
                        <!-- End Footer
         | 
| 159 | 
            +
                    ================================================== -->
         | 
| 160 | 
            +
                    </div>
         | 
| 161 | 
            +
             | 
| 162 | 
            +
                    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
         | 
| 163 | 
            +
                    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
         | 
| 164 | 
            +
                        integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
         | 
| 165 | 
            +
                        crossorigin="anonymous"></script>
         | 
| 166 | 
            +
            </body>
         | 
| 167 | 
            +
             | 
| 168 | 
            +
            </html>
         | 
| @@ -0,0 +1,23 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            title: "Categories"
         | 
| 3 | 
            +
            layout: default
         | 
| 4 | 
            +
            permalink: "/categories.html"
         | 
| 5 | 
            +
            ---
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            <div class="row listrecent">
         | 
| 8 | 
            +
            {% for category in site.categories %}
         | 
| 9 | 
            +
            <div class="section-title col-md-12 mt-4">
         | 
| 10 | 
            +
            <h2 id="{{ category[0] | replace: " ","-" }}">Category <span class="text-capitalize">{{ category[0] }}</span></h2>
         | 
| 11 | 
            +
            </div>
         | 
| 12 | 
            +
            {% assign pages_list = category[1] %}
         | 
| 13 | 
            +
            {% for post in pages_list %}
         | 
| 14 | 
            +
            {% if post.title != null %}
         | 
| 15 | 
            +
            {% if group == null or group == post.group %}
         | 
| 16 | 
            +
            {% include postbox.html %}
         | 
| 17 | 
            +
            {% endif %}
         | 
| 18 | 
            +
            {% endif %}
         | 
| 19 | 
            +
            {% endfor %}
         | 
| 20 | 
            +
            {% assign pages_list = nil %}
         | 
| 21 | 
            +
            {% assign group = nil %}
         | 
| 22 | 
            +
            {% endfor %}
         | 
| 23 | 
            +
            </div>
         | 
| @@ -0,0 +1,117 @@ | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html lang="en">
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            <head>
         | 
| 5 | 
            +
                <meta charset="utf-8">
         | 
| 6 | 
            +
                <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
         | 
| 7 | 
            +
             | 
| 8 | 
            +
                <link rel="icon" href="/assets/img/logo.png" />
         | 
| 9 | 
            +
                <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
         | 
| 10 | 
            +
                    integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
         | 
| 11 | 
            +
                <link rel="stylesheet" href="/assets/css/main.css" />
         | 
| 12 | 
            +
                <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
         | 
| 13 | 
            +
                        integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
         | 
| 14 | 
            +
             | 
| 15 | 
            +
                {% if jekyll.environment == 'production' %}
         | 
| 16 | 
            +
                <!-- change your GA id in _config.yml -->
         | 
| 17 | 
            +
                <script>
         | 
| 18 | 
            +
                    (function (i, s, o, g, r, a, m) {
         | 
| 19 | 
            +
                        i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
         | 
| 20 | 
            +
                            (i[r].q = i[r].q || []).push(arguments)
         | 
| 21 | 
            +
                        }, i[r].l = 1 * new Date(); a = s.createElement(o),
         | 
| 22 | 
            +
                            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
         | 
| 23 | 
            +
                    })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
         | 
| 24 | 
            +
                    ga('create', '{{site.google_analytics}}', 'auto');
         | 
| 25 | 
            +
                    ga('send', 'pageview');
         | 
| 26 | 
            +
                </script>
         | 
| 27 | 
            +
                {% endif %}
         | 
| 28 | 
            +
            </head>
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            {% capture layout %}{% if page.layout %}layout-{{ page.layout }}{% endif %}{% endcapture %}
         | 
| 31 | 
            +
             | 
| 32 | 
            +
            <body class="{{layout}}">
         | 
| 33 | 
            +
                <nav class="navbar navbar-expand-lg navbar-dark fixed-top">
         | 
| 34 | 
            +
             | 
| 35 | 
            +
                    <a class="navbar-brand" href="{{ site.baseurl }}/index.html">
         | 
| 36 | 
            +
                        <h1 class="sitetitle">{{ site.name }} >_</h1>
         | 
| 37 | 
            +
                    </a>
         | 
| 38 | 
            +
             | 
| 39 | 
            +
                    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#liddlenavbar"
         | 
| 40 | 
            +
                        aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
         | 
| 41 | 
            +
                        <span class="navbar-toggler-icon"></span>
         | 
| 42 | 
            +
                    </button>
         | 
| 43 | 
            +
             | 
| 44 | 
            +
                    <div class="collapse navbar-collapse" id="liddlenavbar">
         | 
| 45 | 
            +
             | 
| 46 | 
            +
                        <!-- Begin Menu -->
         | 
| 47 | 
            +
             | 
| 48 | 
            +
                        <ul class="navbar-nav ml-auto">
         | 
| 49 | 
            +
             | 
| 50 | 
            +
                            {% if page.url == "/" %}
         | 
| 51 | 
            +
                            <li class="nav-item active">
         | 
| 52 | 
            +
                                {% else %}
         | 
| 53 | 
            +
                            <li class="nav-item">
         | 
| 54 | 
            +
                                {% endif %}
         | 
| 55 | 
            +
             | 
| 56 | 
            +
                                <a class="nav-link" href="{{ site.baseurl }}/">Home</a>
         | 
| 57 | 
            +
                            </li>
         | 
| 58 | 
            +
             | 
| 59 | 
            +
                            {% if page.url == "/blog" %}
         | 
| 60 | 
            +
                            <li class="nav-item active">
         | 
| 61 | 
            +
                                {% else %}
         | 
| 62 | 
            +
                            <li class="nav-item">
         | 
| 63 | 
            +
                                {% endif %}
         | 
| 64 | 
            +
                                <a class="nav-link" href="{{ site.baseurl }}/blog">Blog</a>
         | 
| 65 | 
            +
                            </li>
         | 
| 66 | 
            +
             | 
| 67 | 
            +
                            {% if page.url == "/about" %}
         | 
| 68 | 
            +
                            <li class="nav-item active">
         | 
| 69 | 
            +
                                {% else %}
         | 
| 70 | 
            +
                            <li class="nav-item">
         | 
| 71 | 
            +
                                {% endif %}
         | 
| 72 | 
            +
                                <a class="nav-link" href="{{ site.baseurl }}/about">About</a>
         | 
| 73 | 
            +
                            </li>
         | 
| 74 | 
            +
                        </ul>
         | 
| 75 | 
            +
             | 
| 76 | 
            +
                        <!-- End Menu -->
         | 
| 77 | 
            +
             | 
| 78 | 
            +
                    </div>
         | 
| 79 | 
            +
                </nav>
         | 
| 80 | 
            +
                <!-- End Navigation
         | 
| 81 | 
            +
                ================================================== -->
         | 
| 82 | 
            +
             | 
| 83 | 
            +
                <div class="site-content">
         | 
| 84 | 
            +
             | 
| 85 | 
            +
                    <div class="container">
         | 
| 86 | 
            +
             | 
| 87 | 
            +
                        <!-- Content
         | 
| 88 | 
            +
                    ================================================== -->
         | 
| 89 | 
            +
                        <div class="main-content">
         | 
| 90 | 
            +
                            {{ content }}
         | 
| 91 | 
            +
                        </div>
         | 
| 92 | 
            +
                        <!-- Begin Footer
         | 
| 93 | 
            +
                    ================================================== -->
         | 
| 94 | 
            +
                        <footer class="footer">
         | 
| 95 | 
            +
                            <div class="container">
         | 
| 96 | 
            +
                                <div class="row">
         | 
| 97 | 
            +
                                    <div class="col-md-6 col-sm-6 text-center text-lg-left">
         | 
| 98 | 
            +
                                        Copyright © {{ site.time | date: "%Y" }} {{ site.name }}
         | 
| 99 | 
            +
                                    </div>
         | 
| 100 | 
            +
                                    <div class="col-md-6 col-sm-6 text-center text-lg-right">
         | 
| 101 | 
            +
                                        <a target="_blank" href="https://github.com/mikeliddle/LiddleLabTheme/">LiddleLab Jekyll
         | 
| 102 | 
            +
                                            Theme</a> by <a target="_blank" href="https://github.com/mikeliddle">mikeliddle</a>
         | 
| 103 | 
            +
                                    </div>
         | 
| 104 | 
            +
                                </div>
         | 
| 105 | 
            +
                            </div>
         | 
| 106 | 
            +
                        </footer>
         | 
| 107 | 
            +
                        <!-- End Footer
         | 
| 108 | 
            +
                    ================================================== -->
         | 
| 109 | 
            +
                    </div>
         | 
| 110 | 
            +
             | 
| 111 | 
            +
                    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
         | 
| 112 | 
            +
                    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
         | 
| 113 | 
            +
                        integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
         | 
| 114 | 
            +
                        crossorigin="anonymous"></script>
         | 
| 115 | 
            +
            </body>
         | 
| 116 | 
            +
             | 
| 117 | 
            +
            </html>
         | 
    
        data/_layouts/page.html
    ADDED
    
    | @@ -0,0 +1,24 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            layout: default
         | 
| 3 | 
            +
            ---
         | 
| 4 | 
            +
             | 
| 5 | 
            +
             | 
| 6 | 
            +
            <section>
         | 
| 7 | 
            +
                <div class="section-title">
         | 
| 8 | 
            +
                    <h2><span>{{ page.title }}</span></h2>
         | 
| 9 | 
            +
                </div>
         | 
| 10 | 
            +
             | 
| 11 | 
            +
                <div class="article-post">
         | 
| 12 | 
            +
                {{content}}
         | 
| 13 | 
            +
                </div>
         | 
| 14 | 
            +
             | 
| 15 | 
            +
                {% if page.comments == true %}
         | 
| 16 | 
            +
             | 
| 17 | 
            +
                <div id="comments" class="row mb-5">
         | 
| 18 | 
            +
                    <div class="col-md-8">
         | 
| 19 | 
            +
             | 
| 20 | 
            +
                    </div>
         | 
| 21 | 
            +
                </div>
         | 
| 22 | 
            +
             | 
| 23 | 
            +
                {% endif %}
         | 
| 24 | 
            +
            </section>
         |