1
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:
Jake Jarvis 2021-11-03 11:29:29 -04:00
parent fbc5986e50
commit 47369fbf09
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
2 changed files with 3 additions and 16 deletions

View File

@ -6,7 +6,7 @@
<meta name="description" content="Make adjectives supercalifragilisticexpialidocious again.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Signika:400,600&amp;display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Signika:wght@400;600&display=swap">
<style>
html, body {
font-family: "Signika", sans-serif;
@ -219,10 +219,8 @@
"whiz-bang",
];
var winner = document.getElementById('synonym');
winner.innerHTML = thesaurus[Math.floor(Math.random() * thesaurus.length)];
var winner = document.getElementById("synonym");
winner.textContent = thesaurus[Math.floor(Math.random() * thesaurus.length)];
</script>
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt=""/></noscript>
</body>
</html>

View File

@ -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"