|
154 | 154 | </div>
|
155 | 155 | </body>
|
156 | 156 |
|
| 157 | +<script type="application/javascript" > |
| 158 | + const files = [ |
| 159 | + "montserrat_regular.ttf", |
| 160 | + "montserrat_medium.ttf", |
| 161 | + "montserrat_light.ttf", |
| 162 | + "montserrat_semibold.ttf", |
| 163 | + "karla_regular.ttf", |
| 164 | + "karla_bold.ttf", |
| 165 | + |
| 166 | + "images/almonds.jpg", |
| 167 | + "images/apple_chips.jpg", |
| 168 | + "images/apple_juice.jpg", |
| 169 | + "images/apple_pie.jpg", |
| 170 | + "images/apple_sauce.jpg", |
| 171 | + "images/apples.jpg", |
| 172 | + "images/cheese.jpg", |
| 173 | + "images/chips.jpg", |
| 174 | + "images/cupcake.jpg", |
| 175 | + "images/desserts.jpg", |
| 176 | + "images/donut.jpg", |
| 177 | + "images/eclair.jpg", |
| 178 | + "images/froyo.jpg", |
| 179 | + "images/fruit.jpg", |
| 180 | + "images/gingerbread.jpg", |
| 181 | + "images/gluten_free.jpg", |
| 182 | + "images/grapes.jpg", |
| 183 | + "images/honeycomb.jpg", |
| 184 | + "images/ice_cream_sandwich.jpg", |
| 185 | + "images/jelly_bean.jpg", |
| 186 | + "images/kitkat.jpg", |
| 187 | + "images/kiwi.jpg", |
| 188 | + "images/lollipop.jpg", |
| 189 | + "images/mango.jpg", |
| 190 | + "images/marshmallow.jpg", |
| 191 | + "images/nougat.jpg", |
| 192 | + "images/nuts.jpg", |
| 193 | + "images/oreo.jpg", |
| 194 | + "images/organic.jpg", |
| 195 | + "images/paleo.jpg", |
| 196 | + "images/pie.jpg", |
| 197 | + "images/placeholder.jpg", |
| 198 | + "images/popcorn.jpg", |
| 199 | + "images/pretzels.jpg", |
| 200 | + "images/smoothies.jpg", |
| 201 | + "images/vegan.jpg", |
| 202 | + ]; |
| 203 | + |
| 204 | + const head = document.head; |
| 205 | + files.forEach((f) => { |
| 206 | + const preloadLink = document.createElement("link"); |
| 207 | + preloadLink.href = f; |
| 208 | + preloadLink.rel = "preload"; |
| 209 | + preloadLink.as = "fetch"; |
| 210 | + preloadLink.crossOrigin = ""; |
| 211 | + head.appendChild(preloadLink); |
| 212 | + }) |
| 213 | +</script> |
| 214 | + |
157 | 215 | <script type="application/javascript" >
|
158 | 216 | const unhandledError = (event, error, type) => {
|
159 | 217 | goatcounter.count({
|
|
0 commit comments