Browse Source

Fixing reported problems

Signed-off-by: Mary Anthony <mary@blockstack.com>
feat/clarity-updates
Mary Anthony 6 years ago
parent
commit
f1131ef7a8
  1. 2
      _includes/head.html
  2. 2
      _includes/keyphrase.md
  3. 54
      _includes/search.html
  4. 3
      assets/js/main.js

2
_includes/head.html

@ -17,7 +17,7 @@
{% endif %} {% endif %}
<!-- https://www.bryanbraun.com/anchorjs/ --> <!-- https://www.bryanbraun.com/anchorjs/ -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/2.0.0/anchor.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/2.0.0/anchor.min.js"></script>
<script type"text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"> <script type"text/javascript" src="https://code.jquery.com/jquery-latest.min.js">
switcherTab('uk-tab-instance'); switcherTab('uk-tab-instance');
function switcherTab(id){ function switcherTab(id){

2
_includes/keyphrase.md

@ -1,6 +1,6 @@
Use the following table to answer questions about keys/phrases/values you can share with others (`SHAREABLE`) and ones you should _never_ share but instead keep in a secure place (`PROTECT`). Use the following table to answer questions about keys/phrases/values you can share with others (`SHAREABLE`) and ones you should _never_ share but instead keep in a secure place (`PROTECT`).
<table class="uk-table-small uk-table-striped uk-text-small"> <table class="uk-table-small uk-table-striped uk-overflow-auto">
<tr valign="top"> <tr valign="top">
<th class="uk-width-large">Phrase/Key/Value</th> <th class="uk-width-large">Phrase/Key/Value</th>
<th>Security</th> <th>Security</th>

54
_includes/search.html

@ -23,39 +23,39 @@
selector: '#searchBox' selector: '#searchBox'
}, },
results: { results: {
embedConfig: undefined, // {'url':undefined,'contentBlock':'.page-content-body'}, // if url is given the page will change to that URL and look for the content block there to insert the results embedConfig: undefined,
fullScreenConfig: undefined, // {trigger: '#ss360-search-trigger', caption: 'Search this site'}, trigger is the CSS selector to the element that starts the search full screen overlay and searchCaption the caption on the full screen search page fullScreenConfig: undefined,
caption: 'Found #COUNT# search results for \"#QUERY#\"', // the caption of the search results caption: 'Found #COUNT# search results for \"#QUERY#\"',
group: true, // whether results should be grouped if content groups are available group: true,
filters: undefined, filters: undefined,
num: 96, // the maximum number of search results to be shown num: 96,
highlightQueryTerms: true, // whether to highlight the query terms in search results highlightQueryTerms: true,
moreResultsButton: "Show more results", // HTML for the more results button, all results will be shown if this is null moreResultsButton: "Show more results",
noResultsText: 'Sorry, we have not found any matches for your query.', // the text to show when there are no results noResultsText: 'Sorry, we have not found any matches for your query.',
queryCorrectionText: 'Did you mean "#CORRECTION#"?', queryCorrectionText: 'Did you mean "#CORRECTION#"?',
searchQueryParamName: 'ss360Query', // the name of the search query parameter searchQueryParamName: 'ss360Query',
linksOpenNewTab: false, // should clicking on the result links open a new tab/window? linksOpenNewTab: false,
showSearchBoxLayover: true, //whether to show search box in search result layover showSearchBoxLayover: true,
moreResultsPagingSize: 12, // the number of new results to show each time the more results button is pressed (max: 24) moreResultsPagingSize: 12,
orderByRelevanceText: "Relevance" // the text to be shown in order select box to describe 'order by relevance' option orderByRelevanceText: "Relevance"
}, },
suggestions: { suggestions: {
show: true, // whether to show search suggestions show: true,
maxQuerySuggestions: 3, // the maximum number of query suggestions maxQuerySuggestions: 3,
querySuggestionHeadline: undefined, // the headline of the query suggestions, leave blank if no headline should be shown querySuggestionHeadline: undefined,
emptyQuerySuggestions: undefined, emptyQuerySuggestions: undefined,
showImages: false, // show images in search suggestions showImages: false,
num: 6, // the maximum number of search suggestions to be shown num: 6,
minChars: 3, // minimum number of characters before the suggestions shows, default: 3, minChars: 3,
maxWidth: 'auto', // the maximum width of the suggest box, default: as wide as the input box, at least 275px maxWidth: 'auto',
throttleTime: 300, // the number of milliseconds before the suggest is triggered after finished input, default: 300ms throttleTime: 300,
extraHtml: undefined, // extra HTML code that is shown in each search suggest, you can even show values of datapoints here, extraHtml: undefined,
highlight: true, // whether matched words should be highlighted, default: true highlight: true
}, },
smart404: { /* The caption of the search results. */ smart404: {
caption: 'These links might be useful', /* The string in the title that identifies the page as a 404 page. */ caption: 'These links might be useful',
identifier: 'Page not found', /* A CSS selector that points to the area in which the alternative links should be shown. */ identifier: 'Page not found',
resultSelector: '#ss360-404', resultSelector: '#ss360-404'
} }
}; };
</script> </script>

3
assets/js/main.js

@ -9022,6 +9022,3 @@
})(window); })(window);
})(); })();
$(document).ready(function() {
anchors.add();
});
Loading…
Cancel
Save