From 8933085fce11667a8f734987b45193a65a8bbff3 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Fri, 25 Sep 2015 01:14:49 -0400 Subject: [PATCH] Optimize network performance This changes the icon into an SVG (smaller and more scalable) and inlines main.js. --- _includes/header.html | 10 ++++++++-- assets/js/main.js | 10 ---------- media/icon.svg | 1 + 3 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 assets/js/main.js create mode 100644 media/icon.svg diff --git a/_includes/header.html b/_includes/header.html index ca59e6d..efaef1f 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -6,7 +6,13 @@ {{ page.title }} - Minetest - + @@ -53,7 +59,7 @@ - Minetest + Minetest Minetest diff --git a/assets/js/main.js b/assets/js/main.js deleted file mode 100644 index 4b43ff4..0000000 --- a/assets/js/main.js +++ /dev/null @@ -1,10 +0,0 @@ -// main.js: Common JavaScript functions -// ==================================== - -var attachFastClick = Origami.fastclick; -attachFastClick(document.body); // FastClick - -$(document).ready(function() { - $("a").smoothScroll(); // jQuery Smooth Scroll - $.goup(); // jQuery GoUp -}); diff --git a/media/icon.svg b/media/icon.svg new file mode 100644 index 0000000..db6bdbf --- /dev/null +++ b/media/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file