-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
86 lines (70 loc) · 9.01 KB
/
search.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Search - Tiny Food Community Hubs</title><meta name="robots" content="noindex, follow"><meta name="generator" content="Publii Open-Source CMS for Static Site"><link rel="amphtml" href=""><link type="application/atom+xml" rel="alternate" href="https://tinyfood.org/feed.xml"><meta property="og:title" content="Tiny Food Community Hubs"><meta property="og:image" content="https://tinyfood.org/media/website/tinyfood0003.png"><meta property="og:site_name" content="Tiny Food Community Hubs"><meta property="og:description" content="TinyFood approach is to support the development of food hubs, useful to low income families to afford predominantly organic, locally sourced sustainable foods."><meta property="og:url" content="https://tinyfood.org/"><meta property="og:type" content="website"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@mycorestoration"><meta name="twitter:title" content="Tiny Food Community Hubs"><meta name="twitter:description" content="TinyFood approach is to support the development of food hubs, useful to low income families to afford predominantly organic, locally sourced sustainable foods."><meta name="twitter:image" content="https://tinyfood.org/media/website/tinyfood0003.png"><link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin><link href="https://fonts.googleapis.com/css?family=Nunito:400%7CYanone+Kaffeesatz:400" rel="stylesheet"><link rel="stylesheet" href="https://tinyfood.org/assets/css/style.css?v=ec9d3e57fcdaf6b743ceaa2dce357dce"><script type="application/ld+json">{"@context":"http://schema.org","@type":"Organization","name":"Tiny Food Community Hubs","logo":"https://tinyfood.org/media/website/tinyfood0003.png","url":"https://tinyfood.org/"}</script><script async src="https://tinyfood.org/assets/js/lazysizes.min.js?v=300b16f1c14e1537e6b064f464ab33b1"></script></head><body><div class="container"><header class="js-top"><div><a class="logo" href="https://tinyfood.org/"><img src="https://tinyfood.org/media/website/tinyfood0003.png" alt="Tiny Food Community Hubs"></a><div class="search"><div class="search__overlay"><button class="search__close" aria-label="Close">Close</button><form action="https://tinyfood.org/search.html"><input class="search__input" type="search" name="q" placeholder="search..." autofocus="autofocus"></form></div><button class="search__btn" aria-label="Search"><svg class="icon" role="presentation" focusable="false"><use xlink:href="https://tinyfood.org/assets/svg/svg-map.svg#search"/></svg></button></div><nav class="navbar js-navbar"><button class="navbar__toggle js-navbar__toggle" aria-expanded="false">Menu</button><ul class="navbar__menu"><li><a href="https://tinyfood.org/food-hubs/" target="_self">Concept</a></li><li><a href="https://tinyfood.org/technologies-that-power-tiny-food/" target="_self">How to use</a></li><li><a href="https://tinyfood.org/north-country-new-york-state-shoppers-and-farmers-hub/" target="_self">Hubs</a></li><li><a href="https://tinyfood.org/tinyfood-app-hubs-are-going-up-now/" target="_self">Regions</a></li><li><a href="https://tinyfood.org/farmer-resources/" title="Producers" target="_self">Farmers</a></li></ul></nav></div></header><main class="main"><div class="hero hero--full search-page"><header><h1>Search</h1><form action="https://tinyfood.org/search.html" class="u-innerwrap"><input type="search" name="q" placeholder="search..." class="search-page__input"></form></header></div><div class="u-innerwrap"><script>(function () {
var cx = '';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();</script><gcse:searchresults-only></gcse:searchresults-only></div></main><footer class="footer"><div class="footer__copyright">Powered by Publii</div></footer></div><script defer="defer" src="https://tinyfood.org/assets/js/jquery-3.2.1.slim.min.js?v=5f48fc77cac90c4778fa24ec9c57f37d"></script><script defer="defer" src="https://tinyfood.org/assets/js/scripts.min.js?v=8e2c228bbd05676f9f2a50a58e9b6636"></script><script src="https://cdn.jsdelivr.net/gh/lepture/github-cards@latest/jsdelivr/widget.js"></script><div class="cookie-popup js-cookie-popup cookie-popup--uses-badge"><h2>This website uses cookies</h2><p>Select which cookies to opt-in to via the checkboxes below; our website uses cookies to examine site traffic and user activity while on our site, for marketing, and to provide social media functionality. <a href="#not-specified">details...</a></p><form><input id="gdpr-necessary" name="gdpr-necessary" checked="checked" disabled="disabled" type="checkbox"> <label for="gdpr-necessary">Required</label> <input id="gdpr-functions" name="gdpr-functions" type="checkbox"> <label for="gdpr-functions">Functionality</label> <input id="gdpr-analytics" name="gdpr-analytics" type="checkbox"> <label for="gdpr-analytics">Analytical</label> <input id="gdpr-marketing" name="gdpr-marketing" type="checkbox"> <label for="gdpr-marketing">Marketing</label><p class="cookie-popup__save-wrapper"><button type="submit" class="cookie-popup__save">Save</button></p></form><span class="cookie-popup-label">Cookie Policy</span></div><script>(function() {
function addScript (src, inline) {
var newScript = document.createElement('script');
if (src) {
newScript.setAttribute('src', src);
}
if (inline) {
newScript.text = inline;
}
document.body.appendChild(newScript);
}
var popup = document.querySelector('.js-cookie-popup');
var checkboxes = popup.querySelectorAll('input[type="checkbox"]');
var save = popup.querySelector('button');
var currentConfig = localStorage.getItem('publii-gdpr-allowed-cookies');
var blockedScripts = document.querySelectorAll('script[type^="gdpr-blocker/"]');
popup.addEventListener('click', function() {
if (!popup.classList.contains('cookie-popup--is-sticky')) {
popup.classList.add('cookie-popup--is-sticky');
}
});
save.addEventListener('click', function(e) {
e.preventDefault();
e.stopPropagation();
popup.classList.remove('cookie-popup--is-sticky');
var allowedGroups = [];
for (var i = 0; i < checkboxes.length; i++) {
if (checkboxes[i].checked) {
var groupName = checkboxes[i].getAttribute('name').replace('gdpr-', '');
var scripts = document.querySelectorAll('script[type="gdpr-blocker/' + groupName + '"]');
for (var j = 0; j < scripts.length; j++) {
addScript(scripts[j].src, scripts[j].text);
}
allowedGroups.push(groupName);
}
}
localStorage.setItem('publii-gdpr-allowed-cookies', allowedGroups.join(','));
popup.classList.remove('cookie-popup--is-sticky');
setTimeout(function () {
if (currentConfig !== null) {
window.location.reload();
}
}, 250);
});
if (currentConfig === null) {
popup.classList.add('cookie-popup--is-sticky');
} else {
if (currentConfig !== '') {
var allowedGroups = currentConfig.split(',');
for (var i = 0; i < allowedGroups.length; i++) {
var scripts = document.querySelectorAll('script[type="gdpr-blocker/' + allowedGroups[i] + '"]');
var checkbox = popup.querySelector('input[type="checkbox"][name="gdpr-' + allowedGroups[i] + '"]');
if (checkbox) {
checkbox.checked = true;
}
for (var j = 0; j < scripts.length; j++) {
addScript(scripts[j].src, scripts[j].text);
}
}
}
}
})();</script></body></html>