Skip to content

Commit

Permalink
JS search for the guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Nov 27, 2017
1 parent ddd20ce commit 8f54a0b
Show file tree
Hide file tree
Showing 10 changed files with 1,039 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
_site
.DS_Store
.jekyll-metadata
7 changes: 6 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: MEI Guidelines
email: [email protected]
baseurl: "/guidelines"
url: "http://guidelines.music-encoding.org"
style_baseurl: "https://music-encoding.github.io"
#style_baseurl: "https://music-encoding.github.io"
style_baseurl: "http://localhost:4000"
twitter_username: music-encoding
github: [metadata]

Expand All @@ -27,6 +28,10 @@ collections:
output: false
guidelines-v4:
output: false

tipue_search:
include:
collections: [guidelines-v3]

sidebar:
- id: s1
Expand Down
10 changes: 10 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,14 @@
<link rel="stylesheet" href="{{ site.style_baseurl }}/css/main.css">
<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="{{ site.style_baseurl }}/css/syntax.css" />

<!-- search -->
{% if page.tipue_search_active or layout.tipue_search_active %}
<link rel="stylesheet" href="{{ site.baseurl }}/js/tipuesearch/css/normalize.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="{{ site.baseurl }}/js/tipuesearch/tipuesearch_content.js"></script>
<link rel="stylesheet" href="{{ site.baseurl }}/js/tipuesearch/css/tipuesearch.css">
<script src="{{ site.baseurl }}/js/tipuesearch/tipuesearch_set.js"></script>
<script src="{{ site.baseurl }}/js/tipuesearch/tipuesearch.min.js"></script>
{% endif %}
</head>
Loading

0 comments on commit 8f54a0b

Please sign in to comment.