Commit cf2fa68f authored by Yohan Jarosz's avatar Yohan Jarosz
Browse files

layout

parent 5b69e231
......@@ -5,6 +5,7 @@
{%- assign page_paths = site.header_pages | default: default_paths -%}
<img src="{{ '/assets/banner-' | relative_url }}{{site.banner}}.svg" type="image/svg+xml"></img>
{%- if page_paths -%}
<nav class="site-nav">
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
......@@ -19,12 +20,13 @@
</label>
<div class="trigger">
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- assign my_pages = site.pages | sort:"order" -%}
{%- for my_page in my_pages -%}
{%- if my_page.title -%}
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
{%- endif -%}
{% endfor -%}
{%- endfor -%}
</div>
</nav>
{%- endif -%}
......
......@@ -21,10 +21,10 @@ $grey-color-dark: darken($grey-color, 25%) !default;
$table-text-align: left !default;
// Width of the content area
$content-width: 800px !default;
$content-width: 960px !default;
$on-palm: 600px !default;
$on-laptop: 800px !default;
$on-laptop: 960px !default;
// height of the banner
$banner-height: 100px;
......
......@@ -3,6 +3,8 @@
# Edit theme's home layout instead if you wanna make some changes
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: page
title: about
order: 3
---
# LCSB jekyll about page.
......
......@@ -3,6 +3,8 @@
# Edit theme's home layout instead if you wanna make some changes
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: default
title: index
order: 1
---
# LCSB jekyll theme.
......
---
# You don't need to edit this file, it's empty on purpose.
# Edit theme's home layout instead if you wanna make some changes
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: post
title: post
order: 2
---
# Post
this is using the layout `post`.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment