Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Miroslav Kratochvil
jekyll-theme-lcsb-default
Commits
cf2fa68f
Commit
cf2fa68f
authored
Mar 20, 2018
by
Yohan Jarosz
Browse files
layout
parent
5b69e231
Changes
5
Hide whitespace changes
Inline
Side-by-side
_includes/header.html
View file @
cf2fa68f
...
...
@@ -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 -%}
...
...
_sass/minima.scss
View file @
cf2fa68f
...
...
@@ -21,10 +21,10 @@ $grey-color-dark: darken($grey-color, 25%) !default;
$table-text-align
:
left
!
default
;
// Width of the content area
$content-width
:
80
0px
!
default
;
$content-width
:
96
0px
!
default
;
$on-palm
:
600px
!
default
;
$on-laptop
:
80
0px
!
default
;
$on-laptop
:
96
0px
!
default
;
// height of the banner
$banner-height
:
100px
;
...
...
about.md
View file @
cf2fa68f
...
...
@@ -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.
...
...
index.md
View file @
cf2fa68f
...
...
@@ -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.
...
...
post.md
0 → 100644
View file @
cf2fa68f
---
# 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment