feat: add choice of position for the sidebar

This commit is contained in:
Stephane Philippart
2023-02-12 17:52:42 +01:00
parent 0d8fce9100
commit b696e746bd
3 changed files with 13 additions and 1 deletions

View File

@ -4,5 +4,15 @@
@charset "utf-8";
// define variable with front matter
{% if site.data.data.sidebar.position == 'left' %}
$resume-order: 2;
$sidebar-order: 1;
{% else %}
$resume-order: 1;
$sidebar-order: 2;
{% endif %}
@import "skins/{{ site.theme_skin | default: 'blue' }}"; // skin
@import "default"; // main partials