m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-04-08 19:12:48 +0200
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-04-08 19:12:48 +0200
commitd334238630dd019544ac8228b23cc14dcbe7e6e3 (patch)
tree96eae39f8d78f59a3277cc48f6b67184236a1bec /src
parent912df09249e699a06d5f19e01d0e8bf712d8f08f (diff)
Remove blog synonyms
Diffstat (limited to 'src')
-rw-r--r--src/template.html.erb18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/template.html.erb b/src/template.html.erb
index 0568cce..569c105 100644
--- a/src/template.html.erb
+++ b/src/template.html.erb
@@ -13,7 +13,7 @@
<ul class='links'>
<li><a href='<%= path_to 'index' %>'>Home</a></li>
- <li><a id='blog' href='<%= path_to 'blog' %>'>Blog</a></li>
+ <li><a href='<%= path_to 'blog' %>'>Blog</a></li>
<li><a href='<%= path_to 'projects' %>'>Projects</a></li>
</ul>
@@ -21,21 +21,5 @@
<%= content -%>
-<script>
- var synonyms = [
- 'Writings',
- 'Blog',
- 'Articles',
- 'Posts',
- 'Notes',
- 'Memos',
- 'Thoughths',
- 'Words'
- ]
- var blog = document.getElementById('blog')
- blog.addEventListener('mouseenter', function (event) {
- blog.innerHTML = synonyms[Math.floor(Math.random() * synonyms.length)]
- })
-</script>
</body>
</html>