Skip to content

Commit

Permalink
New internal layouts and minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal committed Dec 16, 2018
1 parent 949ebd2 commit c0d0024
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 1 deletion.
1 change: 0 additions & 1 deletion 404.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: default
permalink: /404.html
---

Expand Down
4 changes: 4 additions & 0 deletions _config.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ google_cse_token:

# You can customize it changing default layout for all pages
# More info: https://jekyllrb.com/docs/configuration/
#
# git-wiki includes some internal themes that you can choose
# check _layouts folder
#
defaults:
-
scope:
Expand Down
68 changes: 68 additions & 0 deletions _layouts/git-wiki-bs-lux.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<!--
This layout uses bootstrap with lux theme
-->
{% include gw_defines/defines.html %}

<!doctype html>
<html>

<head>
{% if site.inc_before_head %}
{% include {{ site.inc_before_head }} %}
{% endif %}

{% include gw_head/meta.html %}
{% include gw_head/scripts.html %}
{% include gw_head/styles.html %}

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.1.3/lux/bootstrap.min.css">

{% if site.inc_after_head %}
{% include {{ site.inc_after_head }} %}
{% endif %}
</head>

<body>
<div class="wrapper">
<div class="row">
<div class="col-lg-3">
{% include gw_header/header.html %}
</div>
<div class="col-lg-9">
{% include gw_tools/tools.html %}

{% if site.inc_before_toc %}
{% include {{ site.inc_before_toc }} %}
{% endif %}

<div id="toc"></div>

{% if site.inc_after_toc %}
{% include {{ site.inc_after_toc }} %}
{% endif %}

{% if site.inc_before_content %}
{% include {{ site.inc_before_content }} %}
{% endif %}

<div id="content">
{{ content }}
</div>

{% if site.inc_after_content %}
{% include {{ site.inc_after_content }} %}
{% endif %}
</div>
</div>
<div class="row">
<div class="col">
{% include gw_footer/footer.html %}
</div>
</div>
</div>

{% include gw_tail/tail.html %}
</body>

</html>
s
68 changes: 68 additions & 0 deletions _layouts/git-wiki-bs-united.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<!--
This layout uses bootstrap with united theme
-->
{% include gw_defines/defines.html %}

<!doctype html>
<html>

<head>
{% if site.inc_before_head %}
{% include {{ site.inc_before_head }} %}
{% endif %}

{% include gw_head/meta.html %}
{% include gw_head/scripts.html %}
{% include gw_head/styles.html %}

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.1.3/united/bootstrap.min.css">

{% if site.inc_after_head %}
{% include {{ site.inc_after_head }} %}
{% endif %}
</head>

<body>
<div class="wrapper">
<div class="row">
<div class="col-lg-9">
{% include gw_tools/tools.html %}

{% if site.inc_before_toc %}
{% include {{ site.inc_before_toc }} %}
{% endif %}

<div id="toc"></div>

{% if site.inc_after_toc %}
{% include {{ site.inc_after_toc }} %}
{% endif %}

{% if site.inc_before_content %}
{% include {{ site.inc_before_content }} %}
{% endif %}

<div id="content">
{{ content }}
</div>

{% if site.inc_after_content %}
{% include {{ site.inc_after_content }} %}
{% endif %}
</div>
<div class="col-lg-3">
{% include gw_header/header.html %}
</div>
</div>
<div class="row">
<div class="col">
{% include gw_footer/footer.html %}
</div>
</div>
</div>

{% include gw_tail/tail.html %}
</body>

</html>
s

0 comments on commit c0d0024

Please sign in to comment.