forked from Makerspace-Amiens/craft-the-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8758ba
commit 62efb73
Showing
8 changed files
with
117 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<footer class="footer"> | ||
<div class="container"> | ||
{% if site.footer_menu %} | ||
<div class="columns is-multiline"> | ||
{% for item in site.data[site.footer_menu] %} | ||
<div class="column has-text-centered"> | ||
<div> | ||
<a href="{{ item.link | relative_url }}" class="link">{{ item.name }}</a> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
{% endif %} | ||
</div> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<!doctype html> | ||
{% if page.menubar or page.menubar_toc %} | ||
{% assign has_left_sidebar = true %} | ||
{% endif %} | ||
|
||
{% if page.show_sidebar and has_left_sidebar %} | ||
{% assign content_width = 'is-7' %} | ||
{% elsif page.show_sidebar or has_left_sidebar %} | ||
{% assign content_width = 'is-9' %} | ||
{% else %} | ||
{% assign content_width = 'is-12' %} | ||
{% endif %} | ||
|
||
<html | ||
dir="{{ site.direction | default: 'ltr' }}" | ||
lang="{{ site.lang | default: 'en' }}" | ||
class="{% if site.fixed_navbar %} has-navbar-fixed-{{ site.fixed_navbar }} {% endif %} {% if site.force_theme %} theme-{{ site.force_theme }} {% endif %}" | ||
> | ||
{% include head.html %} | ||
<body> | ||
{% if site.cookie_policy %} | ||
{% include cookie-banner.html %} | ||
{% endif %} | ||
{% include header.html %} | ||
{% unless page.hide_hero %} | ||
{% include hero.html %} | ||
{% endunless %} | ||
{% include callouts.html %} | ||
<section class="section"> | ||
<div class="container"> | ||
<div class="columns is-multiline"> | ||
{% if page.menubar_toc %} | ||
<div class="column is-2-desktop is-2-tablet is-hidden-mobile"> | ||
{% assign contentsTitle = page.toc_title | default: 'Contents' %} | ||
{% include toc.html html=content class='menu-list' h_min=2 h_max=3 contents_title=contentsTitle %} | ||
</div> | ||
{% elsif page.menubar %} | ||
<div class="column is-2-desktop is-2-tablet is-hidden-mobile"> | ||
{% include menubar.html %} | ||
</div> | ||
{% endif %} | ||
<div class="column {{ content_width }}"> | ||
{% include tabs.html %} | ||
{% include showcase.html %} | ||
{% include sponsors.html %} | ||
{% include gallery.html %} | ||
{{ content }} | ||
</div> | ||
{% if site.posts and page.show_sidebar %} | ||
<div class="column is-3-desktop is-3-tablet is-hidden-mobile"> | ||
{% include latest-posts.html %} | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
</section> | ||
{% unless page.hide_footer %} | ||
{% include footer.html %} | ||
{% endunless %} | ||
<script src="{{ site.baseurl }}/assets/js/app.js" type="text/javascript"></script> | ||
{%- include footer-scripts.html -%} | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
--- | ||
@import url("https://fonts.googleapis.com/css?family=Montserrat");@font-face { | ||
font-family: "Indivisa Text Sans-Regular"; | ||
src: url("../fonts/Indivisa Text Sans-Regular.ttf") | ||
} | ||
|
||
$family-primary: "Indivisa Text Sans-Regular",sans-serif; | ||
$primary: #ef2e31; | ||
$link: #ef2e31; | ||
$footer-padding: 2rem 1.5rem 2rem; | ||
// Import Main CSS file from theme | ||
@import "main"; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters