--- # Copyright (c) 2019 Florian Klampfer # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . layout: compress --- {% assign plugins = site.plugins | default:site.gems %} {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %} {% assign image = page.accent_image | default:site.accent_image | default:'/assets/bg/sidebar.webp' %} {% assign invert_sidebar = page.invert_sidebar | default:site.invert_sidebar | default:false %} {% assign cover = page.cover | default:site.cover | default:false %} {% if image == site.accent_image and site.accent_video %} {% assign video = site.accent_video %} {% elsif image == page.accent_image and page.accent_video %} {% assign video = page.accent_video %} {% endif %} {% assign color = page.accent_color | default:site.accent_color | default:'rgb(79,177,186)' %} {% assign theme_color = page.theme_color | default:site.theme_color | default:'rgb(8,46,57)' %} {% include head/index.html %} {% include body/index.html %}