Skip to content

Commit

Permalink
Use abbr of hashrocket #972
Browse files Browse the repository at this point in the history
  • Loading branch information
yasulab committed Oct 1, 2020
1 parent 017bfc9 commit 8a4dcdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@
twemoji.parse(document.body);


%script{:src => "https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js", type: "text/javascript"}
%script{src: "https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js", type: "text/javascript"}

:javascript
docsearch({
apiKey: '315da3c406c3fa374a0696590f4821a3',
indexName: 'coderdojo',
inputSelector: '#searchbox',
debug: false // Set debug to true if you want to inspect the dropdown
debug: false // Set this true if you want to inspect the dropdown
});

#fb-root
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_header.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<label for="search" class="search-label"><img src="/img/search.svg" alt="検索" class="search-icon" /></label>
= check_box_tag :search, "検索アイコン", false, class: 'search-checkbox'
.search
%input#searchbox{ :placeholder => "資料を検索", :type => "text" }
%input#searchbox{ placeholder: "資料を検索", type: "text" }
#hits
#pagination
%li= link_to 'お問い合わせ', '/#contact'

0 comments on commit 8a4dcdd

Please sign in to comment.