diff options
-rw-r--r-- | src/template.html.erb | 18 |
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> |