diff --git a/config.toml b/config.toml index 312dec5..9e74342 100644 --- a/config.toml +++ b/config.toml @@ -14,3 +14,7 @@ highlight_code = true [extra] # Put all your custom variables here +toolbar_pages = [ + ["About Us", "about"], + ["Contact", "contact"], +] diff --git a/sass/main.scss b/sass/main.scss new file mode 100644 index 0000000..d4106b4 --- /dev/null +++ b/sass/main.scss @@ -0,0 +1,30 @@ +$sidebar_width: 20%; + +body { + margin: 0; + nav { + height: 100%; + position: fixed; + width: $sidebar_width; + background: rgba(255, 0, 0, .1); + padding-top: 32px; + img { + width: 100%; + } + div { + padding: 0 16px 0 16px; + } + } + main { + height: 100%; + margin-left: $sidebar_width; + background: rgba(0, 255, 0, .1); + padding-top: 50px; + article { + margin: auto; + border: 1px solid blue; + padding: 16px; + max-width: 1000px; + } + } +} diff --git a/templates/base.html b/templates/base.html index 91d6745..741c6d4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -7,10 +7,16 @@ Mountain Linux Club {% endif %} + - {% block content %} - {% endblock %} + {% include "sidebar.html" %} +
+
+ {% block content %} + {% endblock %} +
+
diff --git a/templates/sidebar.html b/templates/sidebar.html new file mode 100644 index 0000000..ba80c63 --- /dev/null +++ b/templates/sidebar.html @@ -0,0 +1,14 @@ +