From bd66550ccc287941f4bbbeb174edc5c56264a8db Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Fri, 29 Jan 2021 22:45:22 +0000 Subject: [PATCH] Added sitemap --- app.js | 10 +++--- package.json | 1 + src/experience/elsevier.md | 11 ------- ...chnology-facilities-council-(placement).md | 15 --------- ...ience-and-technology-facilities-council.md | 11 ------- src/experience/the-university-of-derby.md | 11 ------- src/pages/about.md | 33 ------------------- 7 files changed, 6 insertions(+), 86 deletions(-) delete mode 100644 src/experience/elsevier.md delete mode 100644 src/experience/science-and-technology-facilities-council-(placement).md delete mode 100644 src/experience/science-and-technology-facilities-council.md delete mode 100644 src/experience/the-university-of-derby.md delete mode 100644 src/pages/about.md diff --git a/app.js b/app.js index 654d102..0caa8c6 100644 --- a/app.js +++ b/app.js @@ -15,6 +15,7 @@ const define = require('metalsmith-define'); const feed = require('metalsmith-feed'); const sass = require('metalsmith-sass'); const date = require('metalsmith-build-date'); +const sitemap = require('metalsmith-sitemap'); const Handlebars = require('handlebars'); const emoji = require('markdown-it-emoji'); const moment = require('moment'); @@ -83,11 +84,6 @@ Metalsmith(__dirname) }, pages: { pattern: 'pages/*' - }, - experience: { - pattern: 'experience/*', - sortBy: 'start', - reverse: true } })) .use(inplace({ @@ -114,6 +110,10 @@ Metalsmith(__dirname) collection: 'posts', destination: 'feed.xml' })) + .use(sitemap({ + hostname: 'https://marcusnoble.co.uk', + modifiedProperty: 'date' + })) .use(pagination({ 'collections.posts': { perPage: 5, diff --git a/package.json b/package.json index f34d1ff..7dac4d2 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "metalsmith-pagination": "^1.4.0", "metalsmith-permalinks": "^0.5.0", "metalsmith-sass": "^1.7.0", + "metalsmith-sitemap": "^1.2.2", "moment": "^2.13.0", "striptags": "^2.1.1" }, diff --git a/src/experience/elsevier.md b/src/experience/elsevier.md deleted file mode 100644 index a57e936..0000000 --- a/src/experience/elsevier.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Elsevier -url: https://www.elsevier.com -role: Full Stack Software Engineer -start: 2016-02-15 -end: ---- - -Responsibilities include - -Building an ecommerce platform with involvement at all levels of development from infrastructure to front-end design. Contributing design and development ideas to advance the project. Working on Node.js and TypeScript projects. \ No newline at end of file diff --git a/src/experience/science-and-technology-facilities-council-(placement).md b/src/experience/science-and-technology-facilities-council-(placement).md deleted file mode 100644 index 3efe07e..0000000 --- a/src/experience/science-and-technology-facilities-council-(placement).md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Science and technology Facilities Council -url: http://www.stfc.ac.uk/ -role: Software Developer (Student Placement) -start: 2011-07-01 -end: 2012-09-01 ---- - -Responsibilities included - -Being involved at all stages of development for ASP .NET and Java web applications. Providing user supports to systems maintained by our team. Providing maintenance, updates and bug fixes to existing systems and services. Maintain and develop Oracle and Microsoft SQL servers. Communicating with users within and external to the company to resolve issues. - -Highlights - -I was awarded a Staff Recognition Award for my contribution to a project \ No newline at end of file diff --git a/src/experience/science-and-technology-facilities-council.md b/src/experience/science-and-technology-facilities-council.md deleted file mode 100644 index 9e00a2a..0000000 --- a/src/experience/science-and-technology-facilities-council.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Science and technology Facilities Council -url: http://www.stfc.ac.uk/ -role: Software Developer -start: 2013-06-10 -end: 2016-02-15 ---- - -Responsibilities included - -Being involved at all stages of development for ASP .NET and Java web applications. Providing user supports to systems maintained by our team. Providing maintenance, updates and bug fixes to existing systems and services. Maintain and develop Oracle and Microsoft SQL servers. Communicating with users within and external to the company to resolve issues. \ No newline at end of file diff --git a/src/experience/the-university-of-derby.md b/src/experience/the-university-of-derby.md deleted file mode 100644 index 71c61b4..0000000 --- a/src/experience/the-university-of-derby.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: The University of Derby -url: http://www.derby.ac.uk/ -role: BSc Computer Science -start: 2009-09-01 -end: 2013-06-01 ---- - -Modules included - -Software Development, Web Development, Multi-user Database Systems, Mobile Devices, Operating Systems, Systems Analysis, Language Design and Implementation, Distributed Systems, Systems Programming & Enterprise Systems \ No newline at end of file diff --git a/src/pages/about.md b/src/pages/about.md deleted file mode 100644 index 6a2e121..0000000 --- a/src/pages/about.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -layout: page.html -title: "About" ---- - -Please forgive my brevity, I am a man of few words. One would think that after many years on this planet I would have more to say about myself but alas I simply do not. I am a man that likes to code, to shut out the world and get lost in If statements and try/catch blocks. - - -For years now, as long as I can accurately remember, I have been hacking away at code, scripts and markup. I began this journey many, many, many moons ago playing around with Dreamweaver (is this still around?) to make simple websites. From there I started to pick apart the HTML that was generated, I started using server-side languages such as PHP and I began to play with desktop programming (Python when I first started). - - -Over the years, throughout my education and working life, I have developed skills in Java (my first meeting back in 2008 with the release of the Android platform), C# .NET, various web technologies (JavaScript, ASP .NET, HTML5) and my passion to learn more keeps growing. - - -If you need to get in touch with me, you can find me on either Twitter: @Marcus_Noble_ or Github: AverageMarcus - - -## Experience - - \ No newline at end of file