minimal-music-project 0.1.3 → 0.1.4
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 +4 -4
 - data/404.html +11 -11
 - data/LICENSE.txt +21 -21
 - data/README.md +142 -142
 - data/_config.yml +38 -38
 - data/_data/customs.yml +2 -2
 - data/_data/menu.yml +32 -32
 - data/_data/metaData.yml +20 -20
 - data/_includes/common-head.html +22 -22
 - data/_includes/common.js +95 -95
 - data/_includes/cookies.js +63 -63
 - data/_includes/customizationsScripts.html +6 -6
 - data/_includes/customizationsStyles.html +6 -6
 - data/_includes/discography-entry-metadata.html +77 -77
 - data/_includes/discography-entry.html +42 -42
 - data/_includes/footer.html +9 -9
 - data/_includes/menu.html +35 -35
 - data/_includes/music-player.html +123 -123
 - data/_includes/pagination-buttons.html +13 -13
 - data/_includes/read-more.html +12 -12
 - data/_layouts/cookies.html +29 -29
 - data/_layouts/default.html +21 -21
 - data/_layouts/discography.html +15 -15
 - data/_layouts/post.html +34 -34
 - data/_layouts/posts_feed.html +72 -72
 - data/_sass/minimal-music-project.scss +1 -1
 - data/_sass/styles/_cookies.scss +60 -60
 - data/_sass/styles/_defaults.scss +164 -164
 - data/_sass/styles/_discography.scss +74 -54
 - data/_sass/styles/_embedded-player.scss +8 -8
 - data/_sass/styles/_index.scss +9 -9
 - data/_sass/styles/_layout.scss +49 -49
 - data/_sass/styles/_menu.scss +177 -177
 - data/_sass/styles/_modal.scss +29 -29
 - data/_sass/styles/_music-player.scss +91 -91
 - data/_sass/styles/_post.scss +94 -94
 - data/_sass/styles/_posts_feed.scss +73 -73
 - data/_sass/variables/_colors.scss +4 -4
 - data/_sass/variables/_index.scss +2 -2
 - data/_sass/variables/_layout.scss +27 -27
 - data/_sass/variables/_mixins.scss +54 -54
 - data/assets/img/browserconfig.xml +9 -9
 - data/assets/img/safari-pinned-tab.svg +38 -38
 - data/assets/img/site.webmanifest +19 -19
 - data/assets/styles/styles.scss +7 -7
 - data/pages/about.html +65 -65
 - data/pages/cookies.html +9 -9
 - data/pages/privacyPolicy.html +9 -9
 - metadata +4 -4
 
    
        data/_includes/menu.html
    CHANGED
    
    | 
         @@ -1,35 +1,35 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <aside class="menu">
         
     | 
| 
       2 
     | 
    
         
            -
                <div class="menu-top">
         
     | 
| 
       3 
     | 
    
         
            -
                    <div class="menu-top_logo">
         
     | 
| 
       4 
     | 
    
         
            -
                        <a href="{{ '/' | relative_url }}" >
         
     | 
| 
       5 
     | 
    
         
            -
                            <img src="{{ site.data.metaData.logo | relative_url }}" alt="Logo" onerror="this.style.display='none'">
         
     | 
| 
       6 
     | 
    
         
            -
                        </a>
         
     | 
| 
       7 
     | 
    
         
            -
                    </div>
         
     | 
| 
       8 
     | 
    
         
            -
                    <div class="menu-top_expand" onclick="toggleExpander(this)">
         
     | 
| 
       9 
     | 
    
         
            -
                        <div class="bar_top"></div>
         
     | 
| 
       10 
     | 
    
         
            -
                        <div class="bar_middle"></div>
         
     | 
| 
       11 
     | 
    
         
            -
                        <div class="bar_bottom"></div>
         
     | 
| 
       12 
     | 
    
         
            -
                    </div>
         
     | 
| 
       13 
     | 
    
         
            -
                    <ul class="navigation">
         
     | 
| 
       14 
     | 
    
         
            -
                        {% for menu_item in site.data.menu.menu_pages %}
         
     | 
| 
       15 
     | 
    
         
            -
                        <li>
         
     | 
| 
       16 
     | 
    
         
            -
                            <a href="{{ menu_item.url | relative_url }}" category="{{ menu_item.category }}" title="{{ menu_item.tooltip }}"
         
     | 
| 
       17 
     | 
    
         
            -
                            {% if menu_item.category == page.category or page.categories contains menu_item.category %}
         
     | 
| 
       18 
     | 
    
         
            -
                                class="selected"
         
     | 
| 
       19 
     | 
    
         
            -
                            {% endif %}
         
     | 
| 
       20 
     | 
    
         
            -
                            >
         
     | 
| 
       21 
     | 
    
         
            -
                                <span>{{ menu_item.title }}</span>
         
     | 
| 
       22 
     | 
    
         
            -
                            </a>
         
     | 
| 
       23 
     | 
    
         
            -
                        </li>
         
     | 
| 
       24 
     | 
    
         
            -
                        {% endfor %}
         
     | 
| 
       25 
     | 
    
         
            -
                    </ul>
         
     | 
| 
       26 
     | 
    
         
            -
                </div>
         
     | 
| 
       27 
     | 
    
         
            -
                <div class="menu-contact">
         
     | 
| 
       28 
     | 
    
         
            -
                    {% for contact in site.data.menu.menu_contacts %}
         
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
                    <a href="{{ contact.url | relative_url }}" target="{{ contact.target }}">
         
     | 
| 
       31 
     | 
    
         
            -
                        <i class="{{ contact.faicon }}"></i>
         
     | 
| 
       32 
     | 
    
         
            -
                    </a>
         
     | 
| 
       33 
     | 
    
         
            -
                    {% endfor %}
         
     | 
| 
       34 
     | 
    
         
            -
                </div>
         
     | 
| 
       35 
     | 
    
         
            -
            </aside>
         
     | 
| 
      
 1 
     | 
    
         
            +
            <aside class="menu">
         
     | 
| 
      
 2 
     | 
    
         
            +
                <div class="menu-top">
         
     | 
| 
      
 3 
     | 
    
         
            +
                    <div class="menu-top_logo">
         
     | 
| 
      
 4 
     | 
    
         
            +
                        <a href="{{ '/' | relative_url }}" >
         
     | 
| 
      
 5 
     | 
    
         
            +
                            <img src="{{ site.data.metaData.logo | relative_url }}" alt="Logo" onerror="this.style.display='none'">
         
     | 
| 
      
 6 
     | 
    
         
            +
                        </a>
         
     | 
| 
      
 7 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 8 
     | 
    
         
            +
                    <div class="menu-top_expand" onclick="toggleExpander(this)">
         
     | 
| 
      
 9 
     | 
    
         
            +
                        <div class="bar_top"></div>
         
     | 
| 
      
 10 
     | 
    
         
            +
                        <div class="bar_middle"></div>
         
     | 
| 
      
 11 
     | 
    
         
            +
                        <div class="bar_bottom"></div>
         
     | 
| 
      
 12 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    <ul class="navigation">
         
     | 
| 
      
 14 
     | 
    
         
            +
                        {% for menu_item in site.data.menu.menu_pages %}
         
     | 
| 
      
 15 
     | 
    
         
            +
                        <li>
         
     | 
| 
      
 16 
     | 
    
         
            +
                            <a href="{{ menu_item.url | relative_url }}" category="{{ menu_item.category }}" title="{{ menu_item.tooltip }}"
         
     | 
| 
      
 17 
     | 
    
         
            +
                            {% if menu_item.category == page.category or page.categories contains menu_item.category %}
         
     | 
| 
      
 18 
     | 
    
         
            +
                                class="selected"
         
     | 
| 
      
 19 
     | 
    
         
            +
                            {% endif %}
         
     | 
| 
      
 20 
     | 
    
         
            +
                            >
         
     | 
| 
      
 21 
     | 
    
         
            +
                                <span>{{ menu_item.title }}</span>
         
     | 
| 
      
 22 
     | 
    
         
            +
                            </a>
         
     | 
| 
      
 23 
     | 
    
         
            +
                        </li>
         
     | 
| 
      
 24 
     | 
    
         
            +
                        {% endfor %}
         
     | 
| 
      
 25 
     | 
    
         
            +
                    </ul>
         
     | 
| 
      
 26 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 27 
     | 
    
         
            +
                <div class="menu-contact">
         
     | 
| 
      
 28 
     | 
    
         
            +
                    {% for contact in site.data.menu.menu_contacts %}
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
                    <a href="{{ contact.url | relative_url }}" target="{{ contact.target }}">
         
     | 
| 
      
 31 
     | 
    
         
            +
                        <i class="{{ contact.faicon }}"></i>
         
     | 
| 
      
 32 
     | 
    
         
            +
                    </a>
         
     | 
| 
      
 33 
     | 
    
         
            +
                    {% endfor %}
         
     | 
| 
      
 34 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 35 
     | 
    
         
            +
            </aside>
         
     | 
    
        data/_includes/music-player.html
    CHANGED
    
    | 
         @@ -1,124 +1,124 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <div class="audio-player" id="{{ include.audioData.src }}" >
         
     | 
| 
       2 
     | 
    
         
            -
                <!-- Audio player inspired by https://codepen.io/EmNudge/pen/rRbLJQ -->
         
     | 
| 
       3 
     | 
    
         
            -
                <div class="timeline">
         
     | 
| 
       4 
     | 
    
         
            -
                    <div class="progress"></div>
         
     | 
| 
       5 
     | 
    
         
            -
                </div>
         
     | 
| 
       6 
     | 
    
         
            -
                <div class="controls">
         
     | 
| 
       7 
     | 
    
         
            -
                    <div class="play-controller">
         
     | 
| 
       8 
     | 
    
         
            -
                        <i class="fas fa-play"></i>
         
     | 
| 
       9 
     | 
    
         
            -
                    </div>
         
     | 
| 
       10 
     | 
    
         
            -
                    <div class="time">
         
     | 
| 
       11 
     | 
    
         
            -
                        <div class="current">0:00</div>
         
     | 
| 
       12 
     | 
    
         
            -
                        <div class="divider">/</div>
         
     | 
| 
       13 
     | 
    
         
            -
                        <div class="length"></div>
         
     | 
| 
       14 
     | 
    
         
            -
                    </div>
         
     | 
| 
       15 
     | 
    
         
            -
                    <div class="name">Music Song</div>
         
     | 
| 
       16 
     | 
    
         
            -
                    <div class="volume-container">
         
     | 
| 
       17 
     | 
    
         
            -
                        <div class="volume-controller">
         
     | 
| 
       18 
     | 
    
         
            -
                            <i class="fas fa-volume-up"></i>
         
     | 
| 
       19 
     | 
    
         
            -
                        </div>
         
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
                        <div class="volume-slider">
         
     | 
| 
       22 
     | 
    
         
            -
                            <div class="volume-percentage"></div>
         
     | 
| 
       23 
     | 
    
         
            -
                        </div>
         
     | 
| 
       24 
     | 
    
         
            -
                    </div>
         
     | 
| 
       25 
     | 
    
         
            -
                </div>
         
     | 
| 
       26 
     | 
    
         
            -
            </div>
         
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
            <script>
         
     | 
| 
       29 
     | 
    
         
            -
                // Copyright (c) 2021 by EmNudge (https://codepen.io/EmNudge/pen/rRbLJQ)
         
     | 
| 
       30 
     | 
    
         
            -
                // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
         
     | 
| 
       31 
     | 
    
         
            -
                // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
         
     | 
| 
       32 
     | 
    
         
            -
                // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
                const audioPlayer = document.getElementById("{{ include.audioData.src }}");
         
     | 
| 
       35 
     | 
    
         
            -
                const audio = new Audio(
         
     | 
| 
       36 
     | 
    
         
            -
                    {% if include.audioData.is_relative_url %}
         
     | 
| 
       37 
     | 
    
         
            -
                    "{{ include.audioData.src | relative_url }}"
         
     | 
| 
       38 
     | 
    
         
            -
                    {% else %}
         
     | 
| 
       39 
     | 
    
         
            -
                    "{{ include.audioData.src }}"
         
     | 
| 
       40 
     | 
    
         
            -
                    {% endif %}
         
     | 
| 
       41 
     | 
    
         
            -
                );
         
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
                audio.addEventListener(
         
     | 
| 
       44 
     | 
    
         
            -
                    "loadeddata",
         
     | 
| 
       45 
     | 
    
         
            -
                    () => {
         
     | 
| 
       46 
     | 
    
         
            -
                        audioPlayer.querySelector(".time .length").textContent = getTimeCodeFromNum(
         
     | 
| 
       47 
     | 
    
         
            -
                            audio.duration
         
     | 
| 
       48 
     | 
    
         
            -
                        );
         
     | 
| 
       49 
     | 
    
         
            -
                        audioPlayer.querySelector(".name").textContent = "{{ include.audioData.name }}";
         
     | 
| 
       50 
     | 
    
         
            -
                        audio.volume = .75;
         
     | 
| 
       51 
     | 
    
         
            -
                    },
         
     | 
| 
       52 
     | 
    
         
            -
                    false
         
     | 
| 
       53 
     | 
    
         
            -
                );
         
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
       56 
     | 
    
         
            -
                //click on timeline to skip around
         
     | 
| 
       57 
     | 
    
         
            -
                const timeline = audioPlayer.querySelector(".timeline");
         
     | 
| 
       58 
     | 
    
         
            -
                timeline.addEventListener("click", e => {
         
     | 
| 
       59 
     | 
    
         
            -
                    const timelineWidth = window.getComputedStyle(timeline).width;
         
     | 
| 
       60 
     | 
    
         
            -
                    const timeToSeek = e.offsetX / parseInt(timelineWidth) * audio.duration;
         
     | 
| 
       61 
     | 
    
         
            -
                    audio.currentTime = timeToSeek;
         
     | 
| 
       62 
     | 
    
         
            -
                }, false);
         
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
                //click volume slider to change volume
         
     | 
| 
       65 
     | 
    
         
            -
                const volumeSlider = audioPlayer.querySelector(".controls .volume-slider");
         
     | 
| 
       66 
     | 
    
         
            -
                volumeSlider.addEventListener('click', e => {
         
     | 
| 
       67 
     | 
    
         
            -
                    const sliderWidth = window.getComputedStyle(volumeSlider).width;
         
     | 
| 
       68 
     | 
    
         
            -
                    const newVolume = e.offsetX / parseInt(sliderWidth);
         
     | 
| 
       69 
     | 
    
         
            -
                    audio.volume = newVolume;
         
     | 
| 
       70 
     | 
    
         
            -
                    audioPlayer.querySelector(".controls .volume-percentage").style.width = newVolume * 100 + '%';
         
     | 
| 
       71 
     | 
    
         
            -
                }, false)
         
     | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
       73 
     | 
    
         
            -
                const playBtn = audioPlayer.querySelector(".controls .play-controller i");
         
     | 
| 
       74 
     | 
    
         
            -
                playBtn.addEventListener(
         
     | 
| 
       75 
     | 
    
         
            -
                    "click",
         
     | 
| 
       76 
     | 
    
         
            -
                    () => {
         
     | 
| 
       77 
     | 
    
         
            -
                        playBtn.classList = "fas";
         
     | 
| 
       78 
     | 
    
         
            -
                        if (audio.paused) {
         
     | 
| 
       79 
     | 
    
         
            -
                            playBtn.classList.add("fa-pause");
         
     | 
| 
       80 
     | 
    
         
            -
                            audio.play();
         
     | 
| 
       81 
     | 
    
         
            -
                        } else {
         
     | 
| 
       82 
     | 
    
         
            -
                            playBtn.classList.add("fa-play");
         
     | 
| 
       83 
     | 
    
         
            -
                            audio.pause();
         
     | 
| 
       84 
     | 
    
         
            -
                        }
         
     | 
| 
       85 
     | 
    
         
            -
                    },
         
     | 
| 
       86 
     | 
    
         
            -
                    false
         
     | 
| 
       87 
     | 
    
         
            -
                );
         
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
       89 
     | 
    
         
            -
                const intervalId = setInterval(() => {
         
     | 
| 
       90 
     | 
    
         
            -
                    if(audio.paused) {
         
     | 
| 
       91 
     | 
    
         
            -
                        return;
         
     | 
| 
       92 
     | 
    
         
            -
                    }
         
     | 
| 
       93 
     | 
    
         
            -
                    const progressBar = audioPlayer.querySelector(".progress");
         
     | 
| 
       94 
     | 
    
         
            -
                    progressBar.style.width = audio.currentTime / audio.duration * 100 + "%";
         
     | 
| 
       95 
     | 
    
         
            -
                    audioPlayer.querySelector(".time .current").textContent = getTimeCodeFromNum(
         
     | 
| 
       96 
     | 
    
         
            -
                        audio.currentTime
         
     | 
| 
       97 
     | 
    
         
            -
                    );
         
     | 
| 
       98 
     | 
    
         
            -
                }, 200);
         
     | 
| 
       99 
     | 
    
         
            -
             
     | 
| 
       100 
     | 
    
         
            -
                audioPlayer.querySelector(".volume-controller").addEventListener("click", () => {
         
     | 
| 
       101 
     | 
    
         
            -
                    const volumeEl = audioPlayer.querySelector(".controls .volume-controller i");
         
     | 
| 
       102 
     | 
    
         
            -
                    audio.muted = !audio.muted;
         
     | 
| 
       103 
     | 
    
         
            -
                    volumeEl.classList = "fas";
         
     | 
| 
       104 
     | 
    
         
            -
                    if (audio.muted) {
         
     | 
| 
       105 
     | 
    
         
            -
                        volumeEl.classList.add("fa-volume-mute");
         
     | 
| 
       106 
     | 
    
         
            -
                    } else {
         
     | 
| 
       107 
     | 
    
         
            -
                        volumeEl.classList.add("fa-volume-up");
         
     | 
| 
       108 
     | 
    
         
            -
                    }
         
     | 
| 
       109 
     | 
    
         
            -
                });
         
     | 
| 
       110 
     | 
    
         
            -
             
     | 
| 
       111 
     | 
    
         
            -
                function getTimeCodeFromNum(num) {
         
     | 
| 
       112 
     | 
    
         
            -
                    let seconds = parseInt(num);
         
     | 
| 
       113 
     | 
    
         
            -
                    let minutes = parseInt(seconds / 60);
         
     | 
| 
       114 
     | 
    
         
            -
                    seconds -= minutes * 60;
         
     | 
| 
       115 
     | 
    
         
            -
                    const hours = parseInt(minutes / 60);
         
     | 
| 
       116 
     | 
    
         
            -
                    minutes -= hours * 60;
         
     | 
| 
       117 
     | 
    
         
            -
             
     | 
| 
       118 
     | 
    
         
            -
                    if (hours === 0) return `${minutes}:${String(seconds % 60).padStart(2, 0)}`;
         
     | 
| 
       119 
     | 
    
         
            -
                    return `${String(hours).padStart(2, 0)}:${minutes}:${String(
         
     | 
| 
       120 
     | 
    
         
            -
                        seconds % 60
         
     | 
| 
       121 
     | 
    
         
            -
                    ).padStart(2, 0)}`;
         
     | 
| 
       122 
     | 
    
         
            -
                }
         
     | 
| 
       123 
     | 
    
         
            -
             
     | 
| 
      
 1 
     | 
    
         
            +
            <div class="audio-player" id="{{ include.audioData.src }}" >
         
     | 
| 
      
 2 
     | 
    
         
            +
                <!-- Audio player inspired by https://codepen.io/EmNudge/pen/rRbLJQ -->
         
     | 
| 
      
 3 
     | 
    
         
            +
                <div class="timeline">
         
     | 
| 
      
 4 
     | 
    
         
            +
                    <div class="progress"></div>
         
     | 
| 
      
 5 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 6 
     | 
    
         
            +
                <div class="controls">
         
     | 
| 
      
 7 
     | 
    
         
            +
                    <div class="play-controller">
         
     | 
| 
      
 8 
     | 
    
         
            +
                        <i class="fas fa-play"></i>
         
     | 
| 
      
 9 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 10 
     | 
    
         
            +
                    <div class="time">
         
     | 
| 
      
 11 
     | 
    
         
            +
                        <div class="current">0:00</div>
         
     | 
| 
      
 12 
     | 
    
         
            +
                        <div class="divider">/</div>
         
     | 
| 
      
 13 
     | 
    
         
            +
                        <div class="length"></div>
         
     | 
| 
      
 14 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
                    <div class="name">Music Song</div>
         
     | 
| 
      
 16 
     | 
    
         
            +
                    <div class="volume-container">
         
     | 
| 
      
 17 
     | 
    
         
            +
                        <div class="volume-controller">
         
     | 
| 
      
 18 
     | 
    
         
            +
                            <i class="fas fa-volume-up"></i>
         
     | 
| 
      
 19 
     | 
    
         
            +
                        </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
                        <div class="volume-slider">
         
     | 
| 
      
 22 
     | 
    
         
            +
                            <div class="volume-percentage"></div>
         
     | 
| 
      
 23 
     | 
    
         
            +
                        </div>
         
     | 
| 
      
 24 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 25 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 26 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            <script>
         
     | 
| 
      
 29 
     | 
    
         
            +
                // Copyright (c) 2021 by EmNudge (https://codepen.io/EmNudge/pen/rRbLJQ)
         
     | 
| 
      
 30 
     | 
    
         
            +
                // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
         
     | 
| 
      
 31 
     | 
    
         
            +
                // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
         
     | 
| 
      
 32 
     | 
    
         
            +
                // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
                const audioPlayer = document.getElementById("{{ include.audioData.src }}");
         
     | 
| 
      
 35 
     | 
    
         
            +
                const audio = new Audio(
         
     | 
| 
      
 36 
     | 
    
         
            +
                    {% if include.audioData.is_relative_url %}
         
     | 
| 
      
 37 
     | 
    
         
            +
                    "{{ include.audioData.src | relative_url }}"
         
     | 
| 
      
 38 
     | 
    
         
            +
                    {% else %}
         
     | 
| 
      
 39 
     | 
    
         
            +
                    "{{ include.audioData.src }}"
         
     | 
| 
      
 40 
     | 
    
         
            +
                    {% endif %}
         
     | 
| 
      
 41 
     | 
    
         
            +
                );
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
                audio.addEventListener(
         
     | 
| 
      
 44 
     | 
    
         
            +
                    "loadeddata",
         
     | 
| 
      
 45 
     | 
    
         
            +
                    () => {
         
     | 
| 
      
 46 
     | 
    
         
            +
                        audioPlayer.querySelector(".time .length").textContent = getTimeCodeFromNum(
         
     | 
| 
      
 47 
     | 
    
         
            +
                            audio.duration
         
     | 
| 
      
 48 
     | 
    
         
            +
                        );
         
     | 
| 
      
 49 
     | 
    
         
            +
                        audioPlayer.querySelector(".name").textContent = "{{ include.audioData.name }}";
         
     | 
| 
      
 50 
     | 
    
         
            +
                        audio.volume = .75;
         
     | 
| 
      
 51 
     | 
    
         
            +
                    },
         
     | 
| 
      
 52 
     | 
    
         
            +
                    false
         
     | 
| 
      
 53 
     | 
    
         
            +
                );
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
             
     | 
| 
      
 56 
     | 
    
         
            +
                //click on timeline to skip around
         
     | 
| 
      
 57 
     | 
    
         
            +
                const timeline = audioPlayer.querySelector(".timeline");
         
     | 
| 
      
 58 
     | 
    
         
            +
                timeline.addEventListener("click", e => {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    const timelineWidth = window.getComputedStyle(timeline).width;
         
     | 
| 
      
 60 
     | 
    
         
            +
                    const timeToSeek = e.offsetX / parseInt(timelineWidth) * audio.duration;
         
     | 
| 
      
 61 
     | 
    
         
            +
                    audio.currentTime = timeToSeek;
         
     | 
| 
      
 62 
     | 
    
         
            +
                }, false);
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                //click volume slider to change volume
         
     | 
| 
      
 65 
     | 
    
         
            +
                const volumeSlider = audioPlayer.querySelector(".controls .volume-slider");
         
     | 
| 
      
 66 
     | 
    
         
            +
                volumeSlider.addEventListener('click', e => {
         
     | 
| 
      
 67 
     | 
    
         
            +
                    const sliderWidth = window.getComputedStyle(volumeSlider).width;
         
     | 
| 
      
 68 
     | 
    
         
            +
                    const newVolume = e.offsetX / parseInt(sliderWidth);
         
     | 
| 
      
 69 
     | 
    
         
            +
                    audio.volume = newVolume;
         
     | 
| 
      
 70 
     | 
    
         
            +
                    audioPlayer.querySelector(".controls .volume-percentage").style.width = newVolume * 100 + '%';
         
     | 
| 
      
 71 
     | 
    
         
            +
                }, false)
         
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
      
 73 
     | 
    
         
            +
                const playBtn = audioPlayer.querySelector(".controls .play-controller i");
         
     | 
| 
      
 74 
     | 
    
         
            +
                playBtn.addEventListener(
         
     | 
| 
      
 75 
     | 
    
         
            +
                    "click",
         
     | 
| 
      
 76 
     | 
    
         
            +
                    () => {
         
     | 
| 
      
 77 
     | 
    
         
            +
                        playBtn.classList = "fas";
         
     | 
| 
      
 78 
     | 
    
         
            +
                        if (audio.paused) {
         
     | 
| 
      
 79 
     | 
    
         
            +
                            playBtn.classList.add("fa-pause");
         
     | 
| 
      
 80 
     | 
    
         
            +
                            audio.play();
         
     | 
| 
      
 81 
     | 
    
         
            +
                        } else {
         
     | 
| 
      
 82 
     | 
    
         
            +
                            playBtn.classList.add("fa-play");
         
     | 
| 
      
 83 
     | 
    
         
            +
                            audio.pause();
         
     | 
| 
      
 84 
     | 
    
         
            +
                        }
         
     | 
| 
      
 85 
     | 
    
         
            +
                    },
         
     | 
| 
      
 86 
     | 
    
         
            +
                    false
         
     | 
| 
      
 87 
     | 
    
         
            +
                );
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
                const intervalId = setInterval(() => {
         
     | 
| 
      
 90 
     | 
    
         
            +
                    if(audio.paused) {
         
     | 
| 
      
 91 
     | 
    
         
            +
                        return;
         
     | 
| 
      
 92 
     | 
    
         
            +
                    }
         
     | 
| 
      
 93 
     | 
    
         
            +
                    const progressBar = audioPlayer.querySelector(".progress");
         
     | 
| 
      
 94 
     | 
    
         
            +
                    progressBar.style.width = audio.currentTime / audio.duration * 100 + "%";
         
     | 
| 
      
 95 
     | 
    
         
            +
                    audioPlayer.querySelector(".time .current").textContent = getTimeCodeFromNum(
         
     | 
| 
      
 96 
     | 
    
         
            +
                        audio.currentTime
         
     | 
| 
      
 97 
     | 
    
         
            +
                    );
         
     | 
| 
      
 98 
     | 
    
         
            +
                }, 200);
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
      
 100 
     | 
    
         
            +
                audioPlayer.querySelector(".volume-controller").addEventListener("click", () => {
         
     | 
| 
      
 101 
     | 
    
         
            +
                    const volumeEl = audioPlayer.querySelector(".controls .volume-controller i");
         
     | 
| 
      
 102 
     | 
    
         
            +
                    audio.muted = !audio.muted;
         
     | 
| 
      
 103 
     | 
    
         
            +
                    volumeEl.classList = "fas";
         
     | 
| 
      
 104 
     | 
    
         
            +
                    if (audio.muted) {
         
     | 
| 
      
 105 
     | 
    
         
            +
                        volumeEl.classList.add("fa-volume-mute");
         
     | 
| 
      
 106 
     | 
    
         
            +
                    } else {
         
     | 
| 
      
 107 
     | 
    
         
            +
                        volumeEl.classList.add("fa-volume-up");
         
     | 
| 
      
 108 
     | 
    
         
            +
                    }
         
     | 
| 
      
 109 
     | 
    
         
            +
                });
         
     | 
| 
      
 110 
     | 
    
         
            +
             
     | 
| 
      
 111 
     | 
    
         
            +
                function getTimeCodeFromNum(num) {
         
     | 
| 
      
 112 
     | 
    
         
            +
                    let seconds = parseInt(num);
         
     | 
| 
      
 113 
     | 
    
         
            +
                    let minutes = parseInt(seconds / 60);
         
     | 
| 
      
 114 
     | 
    
         
            +
                    seconds -= minutes * 60;
         
     | 
| 
      
 115 
     | 
    
         
            +
                    const hours = parseInt(minutes / 60);
         
     | 
| 
      
 116 
     | 
    
         
            +
                    minutes -= hours * 60;
         
     | 
| 
      
 117 
     | 
    
         
            +
             
     | 
| 
      
 118 
     | 
    
         
            +
                    if (hours === 0) return `${minutes}:${String(seconds % 60).padStart(2, 0)}`;
         
     | 
| 
      
 119 
     | 
    
         
            +
                    return `${String(hours).padStart(2, 0)}:${minutes}:${String(
         
     | 
| 
      
 120 
     | 
    
         
            +
                        seconds % 60
         
     | 
| 
      
 121 
     | 
    
         
            +
                    ).padStart(2, 0)}`;
         
     | 
| 
      
 122 
     | 
    
         
            +
                }
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
       124 
124 
     | 
    
         
             
            </script>
         
     | 
| 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {% if paginator.total_pages > 1 %}
         
     | 
| 
       2 
     | 
    
         
            -
            <ul class="pager">
         
     | 
| 
       3 
     | 
    
         
            -
                {% if paginator.previous_page %}
         
     | 
| 
       4 
     | 
    
         
            -
                <li class="previous">
         
     | 
| 
       5 
     | 
    
         
            -
                    <a href="{{ paginator.previous_page_path | relative_url | replace: '//', '/' }}">← Newer Posts</a>
         
     | 
| 
       6 
     | 
    
         
            -
                </li>
         
     | 
| 
       7 
     | 
    
         
            -
                {% endif %}
         
     | 
| 
       8 
     | 
    
         
            -
                {% if paginator.next_page %}
         
     | 
| 
       9 
     | 
    
         
            -
                <li class="next">
         
     | 
| 
       10 
     | 
    
         
            -
                    <a href="{{ paginator.next_page_path | relative_url | replace: '//', '/' }}">Older Posts →</a>
         
     | 
| 
       11 
     | 
    
         
            -
                </li>
         
     | 
| 
       12 
     | 
    
         
            -
                {% endif %}
         
     | 
| 
       13 
     | 
    
         
            -
            </ul>
         
     | 
| 
      
 1 
     | 
    
         
            +
            {% if paginator.total_pages > 1 %}
         
     | 
| 
      
 2 
     | 
    
         
            +
            <ul class="pager">
         
     | 
| 
      
 3 
     | 
    
         
            +
                {% if paginator.previous_page %}
         
     | 
| 
      
 4 
     | 
    
         
            +
                <li class="previous">
         
     | 
| 
      
 5 
     | 
    
         
            +
                    <a href="{{ paginator.previous_page_path | relative_url | replace: '//', '/' }}">← Newer Posts</a>
         
     | 
| 
      
 6 
     | 
    
         
            +
                </li>
         
     | 
| 
      
 7 
     | 
    
         
            +
                {% endif %}
         
     | 
| 
      
 8 
     | 
    
         
            +
                {% if paginator.next_page %}
         
     | 
| 
      
 9 
     | 
    
         
            +
                <li class="next">
         
     | 
| 
      
 10 
     | 
    
         
            +
                    <a href="{{ paginator.next_page_path | relative_url | replace: '//', '/' }}">Older Posts →</a>
         
     | 
| 
      
 11 
     | 
    
         
            +
                </li>
         
     | 
| 
      
 12 
     | 
    
         
            +
                {% endif %}
         
     | 
| 
      
 13 
     | 
    
         
            +
            </ul>
         
     | 
| 
       14 
14 
     | 
    
         
             
            {% endif %}
         
     | 
    
        data/_includes/read-more.html
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <span class="read-more">
         
     | 
| 
       2 
     | 
    
         
            -
                {% if include.currPost.external_url %}
         
     | 
| 
       3 
     | 
    
         
            -
                <a href="{{ include.currPost.external_url | relative_url }}" target="_blank">
         
     | 
| 
       4 
     | 
    
         
            -
                    {% else %}
         
     | 
| 
       5 
     | 
    
         
            -
                    <a href="{{ include.currPost.url | relative_url }}">
         
     | 
| 
       6 
     | 
    
         
            -
                        {% endif %} 
         
     | 
| 
       7 
     | 
    
         
            -
                        {% if include.currPost.external_name %}
         
     | 
| 
       8 
     | 
    
         
            -
                        Read more on {{ include.currPost.external_name }} →
         
     | 
| 
       9 
     | 
    
         
            -
                        {% else %}
         
     | 
| 
       10 
     | 
    
         
            -
                        More info →
         
     | 
| 
       11 
     | 
    
         
            -
                        {% endif %}
         
     | 
| 
       12 
     | 
    
         
            -
                    </a>
         
     | 
| 
      
 1 
     | 
    
         
            +
            <span class="read-more">
         
     | 
| 
      
 2 
     | 
    
         
            +
                {% if include.currPost.external_url %}
         
     | 
| 
      
 3 
     | 
    
         
            +
                <a href="{{ include.currPost.external_url | relative_url }}" target="_blank">
         
     | 
| 
      
 4 
     | 
    
         
            +
                    {% else %}
         
     | 
| 
      
 5 
     | 
    
         
            +
                    <a href="{{ include.currPost.url | relative_url }}">
         
     | 
| 
      
 6 
     | 
    
         
            +
                        {% endif %} 
         
     | 
| 
      
 7 
     | 
    
         
            +
                        {% if include.currPost.external_name %}
         
     | 
| 
      
 8 
     | 
    
         
            +
                        Read more on {{ include.currPost.external_name }} →
         
     | 
| 
      
 9 
     | 
    
         
            +
                        {% else %}
         
     | 
| 
      
 10 
     | 
    
         
            +
                        More info →
         
     | 
| 
      
 11 
     | 
    
         
            +
                        {% endif %}
         
     | 
| 
      
 12 
     | 
    
         
            +
                    </a>
         
     | 
| 
       13 
13 
     | 
    
         
             
            </span>
         
     | 
    
        data/_layouts/cookies.html
    CHANGED
    
    | 
         @@ -1,30 +1,30 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            ---
         
     | 
| 
       2 
     | 
    
         
            -
            layout: default
         
     | 
| 
       3 
     | 
    
         
            -
            ---
         
     | 
| 
       4 
     | 
    
         
            -
            <div class="content-container cookies">
         
     | 
| 
       5 
     | 
    
         
            -
                {{ content }}
         
     | 
| 
       6 
     | 
    
         
            -
                <hr />
         
     | 
| 
       7 
     | 
    
         
            -
                <h2>Consents</h2>
         
     | 
| 
       8 
     | 
    
         
            -
                {% for consent in site.data.metaData.cookies.consent %}
         
     | 
| 
       9 
     | 
    
         
            -
                <fieldset>
         
     | 
| 
       10 
     | 
    
         
            -
                    <input type="checkbox" id="{{ consent.name }}">
         
     | 
| 
       11 
     | 
    
         
            -
                    <label for="{{ consent.name }}">
         
     | 
| 
       12 
     | 
    
         
            -
                        <strong>{{ consent.name }}</strong>
         
     | 
| 
       13 
     | 
    
         
            -
                        {{ consent.description }}
         
     | 
| 
       14 
     | 
    
         
            -
                    </label>
         
     | 
| 
       15 
     | 
    
         
            -
                </fieldset>
         
     | 
| 
       16 
     | 
    
         
            -
                {% endfor %}
         
     | 
| 
       17 
     | 
    
         
            -
            </div>
         
     | 
| 
       18 
     | 
    
         
            -
            <script>
         
     | 
| 
       19 
     | 
    
         
            -
                const storageType = localStorage;
         
     | 
| 
       20 
     | 
    
         
            -
                const consents = eval('{{ site.data.metaData.cookies.consent | jsonify }}');
         
     | 
| 
       21 
     | 
    
         
            -
                consents.forEach(consent => {
         
     | 
| 
       22 
     | 
    
         
            -
                    const element = document.getElementById(consent.name);
         
     | 
| 
       23 
     | 
    
         
            -
                    element.checked = storageType.getItem(consent.cookieName) === "true" || consent.alwaysAgree;
         
     | 
| 
       24 
     | 
    
         
            -
                    element.disabled = consent.alwaysAgree;
         
     | 
| 
       25 
     | 
    
         
            -
                    element.addEventListener("click", () => {
         
     | 
| 
       26 
     | 
    
         
            -
                        storageType.setItem(consent.cookieName, element.checked);
         
     | 
| 
       27 
     | 
    
         
            -
                    });
         
     | 
| 
       28 
     | 
    
         
            -
                    storageType.setItem("interacted_with_cookies_banner", true);
         
     | 
| 
       29 
     | 
    
         
            -
                });
         
     | 
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            layout: default
         
     | 
| 
      
 3 
     | 
    
         
            +
            ---
         
     | 
| 
      
 4 
     | 
    
         
            +
            <div class="content-container cookies">
         
     | 
| 
      
 5 
     | 
    
         
            +
                {{ content }}
         
     | 
| 
      
 6 
     | 
    
         
            +
                <hr />
         
     | 
| 
      
 7 
     | 
    
         
            +
                <h2>Consents</h2>
         
     | 
| 
      
 8 
     | 
    
         
            +
                {% for consent in site.data.metaData.cookies.consent %}
         
     | 
| 
      
 9 
     | 
    
         
            +
                <fieldset>
         
     | 
| 
      
 10 
     | 
    
         
            +
                    <input type="checkbox" id="{{ consent.name }}">
         
     | 
| 
      
 11 
     | 
    
         
            +
                    <label for="{{ consent.name }}">
         
     | 
| 
      
 12 
     | 
    
         
            +
                        <strong>{{ consent.name }}</strong>
         
     | 
| 
      
 13 
     | 
    
         
            +
                        {{ consent.description }}
         
     | 
| 
      
 14 
     | 
    
         
            +
                    </label>
         
     | 
| 
      
 15 
     | 
    
         
            +
                </fieldset>
         
     | 
| 
      
 16 
     | 
    
         
            +
                {% endfor %}
         
     | 
| 
      
 17 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 18 
     | 
    
         
            +
            <script>
         
     | 
| 
      
 19 
     | 
    
         
            +
                const storageType = localStorage;
         
     | 
| 
      
 20 
     | 
    
         
            +
                const consents = eval('{{ site.data.metaData.cookies.consent | jsonify }}');
         
     | 
| 
      
 21 
     | 
    
         
            +
                consents.forEach(consent => {
         
     | 
| 
      
 22 
     | 
    
         
            +
                    const element = document.getElementById(consent.name);
         
     | 
| 
      
 23 
     | 
    
         
            +
                    element.checked = storageType.getItem(consent.cookieName) === "true" || consent.alwaysAgree;
         
     | 
| 
      
 24 
     | 
    
         
            +
                    element.disabled = consent.alwaysAgree;
         
     | 
| 
      
 25 
     | 
    
         
            +
                    element.addEventListener("click", () => {
         
     | 
| 
      
 26 
     | 
    
         
            +
                        storageType.setItem(consent.cookieName, element.checked);
         
     | 
| 
      
 27 
     | 
    
         
            +
                    });
         
     | 
| 
      
 28 
     | 
    
         
            +
                    storageType.setItem("interacted_with_cookies_banner", true);
         
     | 
| 
      
 29 
     | 
    
         
            +
                });
         
     | 
| 
       30 
30 
     | 
    
         
             
            </script>
         
     | 
    
        data/_layouts/default.html
    CHANGED
    
    | 
         @@ -1,22 +1,22 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <!doctype html>
         
     | 
| 
       2 
     | 
    
         
            -
            <html lang="{{ site.data.metaData.lang }}">
         
     | 
| 
       3 
     | 
    
         
            -
              <head>
         
     | 
| 
       4 
     | 
    
         
            -
                {% include common-head.html %}
         
     | 
| 
       5 
     | 
    
         
            -
              </head>
         
     | 
| 
       6 
     | 
    
         
            -
              <body>
         
     | 
| 
       7 
     | 
    
         
            -
                {% include menu.html %}
         
     | 
| 
       8 
     | 
    
         
            -
                  <main class="content-layout">
         
     | 
| 
       9 
     | 
    
         
            -
                      {{ content }}
         
     | 
| 
       10 
     | 
    
         
            -
                      {% include footer.html %}
         
     | 
| 
       11 
     | 
    
         
            -
                  </main>
         
     | 
| 
       12 
     | 
    
         
            -
                  {% if site.data.metaData.cookies.enabled %}
         
     | 
| 
       13 
     | 
    
         
            -
                  <script>
         
     | 
| 
       14 
     | 
    
         
            -
                    {% include cookies.js %}
         
     | 
| 
       15 
     | 
    
         
            -
                  </script>
         
     | 
| 
       16 
     | 
    
         
            -
                {% endif %}
         
     | 
| 
       17 
     | 
    
         
            -
                <script>
         
     | 
| 
       18 
     | 
    
         
            -
                  {% include common.js %}
         
     | 
| 
       19 
     | 
    
         
            -
                </script>
         
     | 
| 
       20 
     | 
    
         
            -
                {% include customizationsScripts.html %}
         
     | 
| 
       21 
     | 
    
         
            -
              </body>
         
     | 
| 
      
 1 
     | 
    
         
            +
            <!doctype html>
         
     | 
| 
      
 2 
     | 
    
         
            +
            <html lang="{{ site.data.metaData.lang }}">
         
     | 
| 
      
 3 
     | 
    
         
            +
              <head>
         
     | 
| 
      
 4 
     | 
    
         
            +
                {% include common-head.html %}
         
     | 
| 
      
 5 
     | 
    
         
            +
              </head>
         
     | 
| 
      
 6 
     | 
    
         
            +
              <body>
         
     | 
| 
      
 7 
     | 
    
         
            +
                {% include menu.html %}
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <main class="content-layout">
         
     | 
| 
      
 9 
     | 
    
         
            +
                      {{ content }}
         
     | 
| 
      
 10 
     | 
    
         
            +
                      {% include footer.html %}
         
     | 
| 
      
 11 
     | 
    
         
            +
                  </main>
         
     | 
| 
      
 12 
     | 
    
         
            +
                  {% if site.data.metaData.cookies.enabled %}
         
     | 
| 
      
 13 
     | 
    
         
            +
                  <script>
         
     | 
| 
      
 14 
     | 
    
         
            +
                    {% include cookies.js %}
         
     | 
| 
      
 15 
     | 
    
         
            +
                  </script>
         
     | 
| 
      
 16 
     | 
    
         
            +
                {% endif %}
         
     | 
| 
      
 17 
     | 
    
         
            +
                <script>
         
     | 
| 
      
 18 
     | 
    
         
            +
                  {% include common.js %}
         
     | 
| 
      
 19 
     | 
    
         
            +
                </script>
         
     | 
| 
      
 20 
     | 
    
         
            +
                {% include customizationsScripts.html %}
         
     | 
| 
      
 21 
     | 
    
         
            +
              </body>
         
     | 
| 
       22 
22 
     | 
    
         
             
            </html>
         
     | 
    
        data/_layouts/discography.html
    CHANGED
    
    | 
         @@ -1,16 +1,16 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            ---
         
     | 
| 
       2 
     | 
    
         
            -
            layout: default
         
     | 
| 
       3 
     | 
    
         
            -
            ---
         
     | 
| 
       4 
     | 
    
         
            -
            <div class="content-container">
         
     | 
| 
       5 
     | 
    
         
            -
                <div class="discography">
         
     | 
| 
       6 
     | 
    
         
            -
                    {{ content }}
         
     | 
| 
       7 
     | 
    
         
            -
                    {% for post in paginator.posts %}
         
     | 
| 
       8 
     | 
    
         
            -
                    {% if post.categories contains page.category %}
         
     | 
| 
       9 
     | 
    
         
            -
                    <hr>
         
     | 
| 
       10 
     | 
    
         
            -
                    {% include discography-entry.html currPost=post %}
         
     | 
| 
       11 
     | 
    
         
            -
                    {% endif %}
         
     | 
| 
       12 
     | 
    
         
            -
                    {% endfor %}
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                    {% include pagination-buttons.html %}
         
     | 
| 
       15 
     | 
    
         
            -
                </div>
         
     | 
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            layout: default
         
     | 
| 
      
 3 
     | 
    
         
            +
            ---
         
     | 
| 
      
 4 
     | 
    
         
            +
            <div class="content-container">
         
     | 
| 
      
 5 
     | 
    
         
            +
                <div class="discography">
         
     | 
| 
      
 6 
     | 
    
         
            +
                    {{ content }}
         
     | 
| 
      
 7 
     | 
    
         
            +
                    {% for post in paginator.posts %}
         
     | 
| 
      
 8 
     | 
    
         
            +
                    {% if post.categories contains page.category %}
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <hr>
         
     | 
| 
      
 10 
     | 
    
         
            +
                    {% include discography-entry.html currPost=post %}
         
     | 
| 
      
 11 
     | 
    
         
            +
                    {% endif %}
         
     | 
| 
      
 12 
     | 
    
         
            +
                    {% endfor %}
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
                    {% include pagination-buttons.html %}
         
     | 
| 
      
 15 
     | 
    
         
            +
                </div>
         
     | 
| 
       16 
16 
     | 
    
         
             
            </div>
         
     | 
    
        data/_layouts/post.html
    CHANGED
    
    | 
         @@ -1,34 +1,34 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            ---
         
     | 
| 
       2 
     | 
    
         
            -
            layout: default
         
     | 
| 
       3 
     | 
    
         
            -
            ---
         
     | 
| 
       4 
     | 
    
         
            -
            <div class="post">
         
     | 
| 
       5 
     | 
    
         
            -
                <div class="content-container {{ page.category }}">
         
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
                    <header>
         
     | 
| 
       8 
     | 
    
         
            -
                        <h1>{{ page.title }}</h1>
         
     | 
| 
       9 
     | 
    
         
            -
                        {% if page.image %}
         
     | 
| 
       10 
     | 
    
         
            -
                            <figure class="post-cover">
         
     | 
| 
       11 
     | 
    
         
            -
                                <div class="click-to-enlarge">
         
     | 
| 
       12 
     | 
    
         
            -
                                    <img
         
     | 
| 
       13 
     | 
    
         
            -
                                        click-to-enlarge 
     | 
| 
       14 
     | 
    
         
            -
                                        {% if page.image_alt %}
         
     | 
| 
       15 
     | 
    
         
            -
                                        alt="{{ page.image_alt }}"
         
     | 
| 
       16 
     | 
    
         
            -
                                        {% endif %}
         
     | 
| 
       17 
     | 
    
         
            -
                                        class="post-cover_image"
         
     | 
| 
       18 
     | 
    
         
            -
                                        src="{{ page.image | relative_url }}"
         
     | 
| 
       19 
     | 
    
         
            -
                                        {% if page.responsiveImage %}
         
     | 
| 
       20 
     | 
    
         
            -
                                        srcset="{% for img in page.responsiveImage %}{{ img.src | relative_url }} {{ img.size }}w{% if forloop.last == false %},{% endif %}{% endfor %}"
         
     | 
| 
       21 
     | 
    
         
            -
                                        {% endif %}
         
     | 
| 
       22 
     | 
    
         
            -
                                    />
         
     | 
| 
       23 
     | 
    
         
            -
                                </div>
         
     | 
| 
       24 
     | 
    
         
            -
                            </figure>
         
     | 
| 
       25 
     | 
    
         
            -
                        {% endif %}
         
     | 
| 
       26 
     | 
    
         
            -
                    </header>
         
     | 
| 
       27 
     | 
    
         
            -
                    <div class="post-content">
         
     | 
| 
       28 
     | 
    
         
            -
                        {{ content }}
         
     | 
| 
       29 
     | 
    
         
            -
                    </div>
         
     | 
| 
       30 
     | 
    
         
            -
                    <div class="post-metadata">
         
     | 
| 
       31 
     | 
    
         
            -
                        {% include discography-entry-metadata.html currPost=page %}
         
     | 
| 
       32 
     | 
    
         
            -
                    </div>
         
     | 
| 
       33 
     | 
    
         
            -
                </div>
         
     | 
| 
       34 
     | 
    
         
            -
            </div>
         
     | 
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            layout: default
         
     | 
| 
      
 3 
     | 
    
         
            +
            ---
         
     | 
| 
      
 4 
     | 
    
         
            +
            <div class="post">
         
     | 
| 
      
 5 
     | 
    
         
            +
                <div class="content-container {{ page.category }}">
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
                    <header>
         
     | 
| 
      
 8 
     | 
    
         
            +
                        <h1>{{ page.title }}</h1>
         
     | 
| 
      
 9 
     | 
    
         
            +
                        {% if page.image %}
         
     | 
| 
      
 10 
     | 
    
         
            +
                            <figure class="post-cover">
         
     | 
| 
      
 11 
     | 
    
         
            +
                                <div class="click-to-enlarge">
         
     | 
| 
      
 12 
     | 
    
         
            +
                                    <img
         
     | 
| 
      
 13 
     | 
    
         
            +
                                        click-to-enlarge
         
     | 
| 
      
 14 
     | 
    
         
            +
                                        {% if page.image_alt %}
         
     | 
| 
      
 15 
     | 
    
         
            +
                                        alt="{{ page.image_alt }}"
         
     | 
| 
      
 16 
     | 
    
         
            +
                                        {% endif %}
         
     | 
| 
      
 17 
     | 
    
         
            +
                                        class="post-cover_image webfeedsFeaturedVisual"
         
     | 
| 
      
 18 
     | 
    
         
            +
                                        src="{{ page.image | relative_url }}"
         
     | 
| 
      
 19 
     | 
    
         
            +
                                        {% if page.responsiveImage %}
         
     | 
| 
      
 20 
     | 
    
         
            +
                                        srcset="{% for img in page.responsiveImage %}{{ img.src | relative_url }} {{ img.size }}w{% if forloop.last == false %},{% endif %}{% endfor %}"
         
     | 
| 
      
 21 
     | 
    
         
            +
                                        {% endif %}
         
     | 
| 
      
 22 
     | 
    
         
            +
                                    />
         
     | 
| 
      
 23 
     | 
    
         
            +
                                </div>
         
     | 
| 
      
 24 
     | 
    
         
            +
                            </figure>
         
     | 
| 
      
 25 
     | 
    
         
            +
                        {% endif %}
         
     | 
| 
      
 26 
     | 
    
         
            +
                    </header>
         
     | 
| 
      
 27 
     | 
    
         
            +
                    <div class="post-content">
         
     | 
| 
      
 28 
     | 
    
         
            +
                        {{ content }}
         
     | 
| 
      
 29 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 30 
     | 
    
         
            +
                    <div class="post-metadata">
         
     | 
| 
      
 31 
     | 
    
         
            +
                        {% include discography-entry-metadata.html currPost=page %}
         
     | 
| 
      
 32 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 33 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 34 
     | 
    
         
            +
            </div>
         
     |