Added sitemap

This commit is contained in:
Marcus Noble 2021-01-29 22:45:22 +00:00
parent 004b41a6a1
commit bd66550ccc
7 changed files with 6 additions and 86 deletions

10
app.js
View File

@ -15,6 +15,7 @@ const define = require('metalsmith-define');
const feed = require('metalsmith-feed'); const feed = require('metalsmith-feed');
const sass = require('metalsmith-sass'); const sass = require('metalsmith-sass');
const date = require('metalsmith-build-date'); const date = require('metalsmith-build-date');
const sitemap = require('metalsmith-sitemap');
const Handlebars = require('handlebars'); const Handlebars = require('handlebars');
const emoji = require('markdown-it-emoji'); const emoji = require('markdown-it-emoji');
const moment = require('moment'); const moment = require('moment');
@ -83,11 +84,6 @@ Metalsmith(__dirname)
}, },
pages: { pages: {
pattern: 'pages/*' pattern: 'pages/*'
},
experience: {
pattern: 'experience/*',
sortBy: 'start',
reverse: true
} }
})) }))
.use(inplace({ .use(inplace({
@ -114,6 +110,10 @@ Metalsmith(__dirname)
collection: 'posts', collection: 'posts',
destination: 'feed.xml' destination: 'feed.xml'
})) }))
.use(sitemap({
hostname: 'https://marcusnoble.co.uk',
modifiedProperty: 'date'
}))
.use(pagination({ .use(pagination({
'collections.posts': { 'collections.posts': {
perPage: 5, perPage: 5,

View File

@ -21,6 +21,7 @@
"metalsmith-pagination": "^1.4.0", "metalsmith-pagination": "^1.4.0",
"metalsmith-permalinks": "^0.5.0", "metalsmith-permalinks": "^0.5.0",
"metalsmith-sass": "^1.7.0", "metalsmith-sass": "^1.7.0",
"metalsmith-sitemap": "^1.2.2",
"moment": "^2.13.0", "moment": "^2.13.0",
"striptags": "^2.1.1" "striptags": "^2.1.1"
}, },

View File

@ -1,11 +0,0 @@
---
title: Elsevier
url: https://www.elsevier.com
role: Full Stack Software Engineer
start: 2016-02-15
end:
---
<small>Responsibilities include</small>
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.

View File

@ -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
---
<small>Responsibilities included</small>
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.
<small>Highlights</small>
I was awarded a Staff Recognition Award for my contribution to a project

View File

@ -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
---
<small>Responsibilities included</small>
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.

View File

@ -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
---
<small>Modules included</small>
Software Development, Web Development, Multi-user Database Systems, Mobile Devices, Operating Systems, Systems Analysis, Language Design and Implementation, Distributed Systems, Systems Programming &amp; Enterprise Systems

View File

@ -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 <code>If</code> statements and <code>try/catch</code> 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 <strong>HTML</strong> that was generated, I started using server-side languages such as <strong>PHP</strong> and I began to play with desktop programming (<strong>Python</strong> when I first started).
Over the years, throughout my education and working life, I have developed skills in <strong>Java</strong> (my first meeting back in 2008 with the release of the <a href="http://www.android.com/">Android <i class="icon-external-link"></i></a> platform), <strong>C# .NET</strong>, various web technologies (<strong>JavaScript</strong>, <strong>ASP .NET</strong>, <strong>HTML5</strong>) and my passion to learn more keeps growing.
If you need to get in touch with me, you can find me on either Twitter: <a href="https://www.twitter.com/Marcus_Noble_">@Marcus_Noble_</a> or Github: <a href="https://www.github.com/AverageMarcus">AverageMarcus</a>
## Experience
<ul class="experience-list">
{{#each collections.experience}}
<li class="card">
<span class="label label-info">{{moment this.start 'MMMM YYYY'}} &mdash; {{#if this.end}}{{moment this.end 'MMMM YYYY'}}{{else}}Ongoing{{/if}}</span>
<h3>
<a href="{{this.url}}">{{this.title}} <i class="icon-external-link"></i></a>
</h3>
<strong>{{this.role}}</strong>
<blockquote>
{{{this.contents}}}
</blockquote>
</li>
{{/each}}
</ul>