Skip to content

Commit

Permalink
adding humans, robots, sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdjbrett committed May 22, 2024
1 parent fcdf17b commit fca4c7f
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
46 changes: 46 additions & 0 deletions content/pages/humans.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
permalink: /humans.txt
eleventyExcludeFromCollections: true
layout: null
date: Last Modified
---

/* WHO */

Adam DJ Brett
Website: adamdjbrett.com
Twitter: @__adjb
From: Syracuse, NY, USA

/* THANKS */

Eleventy Creator: Zachleat
Twitter: @zachleat

Developer: Tatiana Mac
Twitter: @TatianaTMac

Developer: Andy Bell
Twitter: hankchizljaw

/* Credits */

Static Site Generator: Eleventy
Twitter: @eleven_ty
Website: 11ty.dev

Eleventy Base Blog Starter Project
Website: /~https://github.com/11ty/eleventy-base-blog

Theme: M10y Eleventy Multiplicity Template
Website: /~https://github.com/lwojcik/eleventy-template-multiplicity

/* SITE */

Last update: {{ page.date }}
Language: English
Generator: Eleventy
Theme: Front Cover Theme
Fonts: Font-Awesome 4.7.0
Doctype: HTML5
IDE: Terminal, Atom, Sublime Text
9 changes: 9 additions & 0 deletions content/pages/robots.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
permalink: /robots.txt
eleventyExcludeFromCollections: true
---
# Allow crawling of all content
User-agent: *
Allow: /

Sitemap: {{ site.url }}/sitemap.xml
14 changes: 14 additions & 0 deletions content/pages/sitemap.xml.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
permalink: /sitemap.xml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{%- for page in collections.all %}
{% set absoluteUrl %}{{ page.url | url | absoluteUrl(metadata.url) }}{% endset %}
<url>
<loc>{{site.url}}{{ absoluteUrl }}</loc>
<lastmod>{{ page.date | htmlDateString }}</lastmod>
</url>
{%- endfor %}
</urlset>

0 comments on commit fca4c7f

Please sign in to comment.