diff --git a/src/_data/meta.js b/src/_data/meta.js index 45d52559..b5196fbc 100644 --- a/src/_data/meta.js +++ b/src/_data/meta.js @@ -3,10 +3,9 @@ export default { siteDescription: "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies.", author: 'Cory Dransfeldt', - authorEmail: 'coryd@hey.com', - authorWebsite: 'https://coryd.dev', + email: 'coryd@hey.com', + url: 'https://coryd.dev', themeColor: '#3b82f6', - url: process.env.URL || 'http://localhost:8080', siteType: 'Person', locale: 'en_US', lang: 'en', diff --git a/src/pages/contact.md b/src/pages/contact.md index aa7ca25f..318f1809 100644 --- a/src/pages/contact.md +++ b/src/pages/contact.md @@ -17,7 +17,7 @@ description: 'How to contact me.' diff --git a/src/pages/sitemap.liquid b/src/pages/sitemap.liquid index 5059b59b..a20e66c2 100644 --- a/src/pages/sitemap.liquid +++ b/src/pages/sitemap.liquid @@ -2,13 +2,16 @@ permalink: /sitemap.xml eleventyExcludeFromCollections: true --- - + {% for page in collections.all %} - - {{ meta.url }}{{ page.url | url }} - {{ page.date }} - {{page.data.changeFreq}} - + {% if not page.data.draft %} + + {{ meta.url }}{{ page.url }} + {{ page.date | isoDateOnly }} + {%- if page.data.changeFreq -%}{{ page.data.changeFreq }}{%- else -%}monthly{%- endif -%} + {%- if page.data.priority -%}{{ page.data.priority }}{%- else -%}0.5{%- endif %} + + {% endif %} {% endfor %} - + \ No newline at end of file