diff --git a/static/icons8-external-link-50.png b/static/icons8-external-link-50.png deleted file mode 100644 index 9616096..0000000 Binary files a/static/icons8-external-link-50.png and /dev/null differ diff --git a/static/nav.js b/static/nav.js deleted file mode 100644 index 3832c70..0000000 --- a/static/nav.js +++ /dev/null @@ -1,44 +0,0 @@ - -var splitPath = function(path) { - var result = path.replace(/\\/g, "/").match(/(.*\/)?(\..*?|.*?)(\.[^.]*?)?(#.*$|\?.*$|$)/); - return { - dirname: result[1] || "", - filename: result[2] || "", - extension: result[3] || "", - params: result[4] || "" - }; -}; - -d = window.document - -var get_current_page_name = function() { - if (location.pathname == '/') { - return 'about' - } - page_name = splitPath(d.URL).filename - if (!['projects', 'index'].includes(page_name)) { - return 'blog' } - if (page_name == 'index') { - return 'about' - } - return page_name -} - -window.onload = function() { - current_page_name = get_current_page_name() - nav = d.getElementById('nav') - Array.prototype.forEach.call(nav.children, function(child, index){ - if (current_page_name == child.text.toLowerCase()) { - child.className = child.className.concat(' current-page') - } - }) - title_element = d.getElementById('title') - if (current_page_name == 'blog') { - d.title = d.title.concat(' | Blog') - title_element.text = title_element.text.concat("\'s Blog") - } else if (current_page_name == 'projects') { - d.title = d.title.concat(' | Projects') - title_element.text = title_element.text.concat("\'s Projects") - - } -} diff --git a/static/zev.jpeg b/static/zev.jpeg deleted file mode 100644 index 91f65b7..0000000 Binary files a/static/zev.jpeg and /dev/null differ