feat: ✨ add choice of position for the sidebar
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user