diff options
Diffstat (limited to 'zurb-F5-basic/templates/base.html')
-rw-r--r-- | zurb-F5-basic/templates/base.html | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/zurb-F5-basic/templates/base.html b/zurb-F5-basic/templates/base.html index 944ccb5..29345ec 100644 --- a/zurb-F5-basic/templates/base.html +++ b/zurb-F5-basic/templates/base.html @@ -9,8 +9,15 @@ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/normalize.css" />
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/foundation.css" />
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css" />
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments.css" />
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments.css" />
<script src="{{ SITEURL }}/theme/js/modernizr.js"></script>
+
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
+ <script src="{{ SITEURL }}tipuesearch_content.js"></script>
+ <!-- script src="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch_set.js"></script>
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch.css"/-->
+
</head>
<body>
@@ -68,12 +75,12 @@ {% endif %}
</ul>
- {% if categories %}
+ {% if categories %}
<h5 class="sidebar-title">Categories</h5>
<ul class="side-nav">
{% for cat, null in categories %}
<li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
- {% endfor %}
+ {% endfor %}
</ul>
{% endif %}
@@ -85,7 +92,11 @@ {% endfor %}
</ul>
{% endif %}
-
+
+ <form class="navbar-search" action="{{ SITEURL }}/{{ SEARCH_URL }}" onsubmit="return validateForm(this.elements['q'].value);">
+ <input type="text" class="search-query" placeholder="Search" name="q" id="tipue_search_input">
+ </form>
+
{% if SOCIAL %}
<h5 class="sidebar-title">Social</h5>
<ul class="side-nav">
@@ -107,6 +118,7 @@ <div class="row">
<div class="large-6 columns">
<!-- <p>{{ SITENAME }} by {{ AUTHOR }}</p> -->
+ {% block relme %}{% endblock %}
</div>
</div>
</div>
|