Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic-practice-pages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Miroslav Kratochvil
basic-practice-pages
Commits
cf2fa68f
Commit
cf2fa68f
authored
6 years ago
by
Yohan Jarosz
Browse files
Options
Downloads
Patches
Plain Diff
layout
parent
5b69e231
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
_includes/header.html
+5
-3
5 additions, 3 deletions
_includes/header.html
_sass/minima.scss
+2
-2
2 additions, 2 deletions
_sass/minima.scss
about.md
+2
-0
2 additions, 0 deletions
about.md
index.md
+2
-0
2 additions, 0 deletions
index.md
post.md
+12
-0
12 additions, 0 deletions
post.md
with
23 additions
and
5 deletions
_includes/header.html
+
5
−
3
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 -%}
...
...
This diff is collapsed.
Click to expand it.
_sass/minima.scss
+
2
−
2
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
;
...
...
This diff is collapsed.
Click to expand it.
about.md
+
2
−
0
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.
...
...
This diff is collapsed.
Click to expand it.
index.md
+
2
−
0
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.
...
...
This diff is collapsed.
Click to expand it.
post.md
0 → 100644
+
12
−
0
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment