mirror of
https://github.com/jakejarvis/synonyms-for-awesome.git
synced 2025-04-26 07:35:22 -04:00
Update index.html
This commit is contained in:
parent
fbc5986e50
commit
47369fbf09
@ -6,7 +6,7 @@
|
|||||||
<meta name="description" content="Make adjectives supercalifragilisticexpialidocious again.">
|
<meta name="description" content="Make adjectives supercalifragilisticexpialidocious again.">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="shortcut icon" href="favicon.ico">
|
<link rel="shortcut icon" href="favicon.ico">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Signika:400,600&display=swap" rel="stylesheet">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Signika:wght@400;600&display=swap">
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
html, body {
|
||||||
font-family: "Signika", sans-serif;
|
font-family: "Signika", sans-serif;
|
||||||
@ -219,10 +219,8 @@
|
|||||||
"whiz-bang",
|
"whiz-bang",
|
||||||
];
|
];
|
||||||
|
|
||||||
var winner = document.getElementById('synonym');
|
var winner = document.getElementById("synonym");
|
||||||
winner.innerHTML = thesaurus[Math.floor(Math.random() * thesaurus.length)];
|
winner.textContent = thesaurus[Math.floor(Math.random() * thesaurus.length)];
|
||||||
</script>
|
</script>
|
||||||
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
|
|
||||||
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt=""/></noscript>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
11
netlify.toml
11
netlify.toml
@ -1,11 +0,0 @@
|
|||||||
# cache homepage for an hour
|
|
||||||
[[headers]]
|
|
||||||
for = "/"
|
|
||||||
[headers.values]
|
|
||||||
Cache-Control = "max-age=3600, public"
|
|
||||||
|
|
||||||
# aggressively cache everything else
|
|
||||||
[[headers]]
|
|
||||||
for = "/*"
|
|
||||||
[headers.values]
|
|
||||||
Cache-Control = "max-age=604800, public"
|
|
Loading…
x
Reference in New Issue
Block a user