1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-02 08:25:32 +04:00

tmp pages, top search

This commit is contained in:
codecalm
2019-12-15 16:51:12 +01:00
parent 02e0505587
commit fd0c468289
11 changed files with 26 additions and 28 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="navbar-search d-none d-lg-block">
<form action="" method="get">
<input type="text" name="q" class="form-control bg-light" placeholder="Search...">
<input type="text" name="q" class="form-control form-control-light" placeholder="Search...">
</form>
</div>
-2
View File
@@ -5,8 +5,6 @@
{% include_cached layout/navbar-logo.html class="mr-4" %}
{% endif %}
{% include_cached layout/navbar-search.html %}
<ul class="nav navbar-menu align-items-center ml-auto">
<li class="nav-item d-none d-lg-flex mr-3">
<a href="{{ site.github_url }}" class="btn btn-sm btn-success" target="_blank">Source code</a>
+2
View File
@@ -2,6 +2,8 @@
<div class="navbar navbar-expand-lg {% if include.dark %}navbar-dark{% else %}navbar-light{% endif %}">
<div class="container{% if include.fluid %}-fluid{% endif %}">
{% include layout/menu.html top=true %}
{% include_cached layout/navbar-search.html %}
</div>
</div>
</header>
+9
View File
@@ -0,0 +1,9 @@
Jekyll::Hooks.register :site, :post_read do |site|
if Jekyll.env == 'production'
site.pages.delete_if do |page|
if page.data['tmp']
true
end
end
end
end
+5
View File
@@ -0,0 +1,5 @@
---
tmp: true
---
temporary page
+1
View File
@@ -1,4 +1,5 @@
---
tmp: true
---
<div class="row">