Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

14. Humans.txt authorship

khalwat edited this page Jul 25, 2016 · 2 revisions

Humans.txt authorship

Humans.txt is an initiative for knowing the people behind a website. It's a TXT file that contains information about the different people who have contributed to building the website.

SEOmatic automatically generates Humans.txt authorship accreditation with the following tag:

<link type="text/plain" rel="author" href="/humans.txt" />

The rendered humans.txt file uses the following template by default (you're free to change it as you wish):

/* TEAM */

{% if seomaticCreator.name is defined and seomaticCreator.name %}
Creator: {{ seomaticCreator.name }}
{% endif %}
{% if seomaticCreator.url is defined and seomaticCreator.url %}
URL: {{ seomaticCreator.url }}
{% endif %}
{% if seomaticCreator.description is defined and seomaticCreator.description %}
Description: {{ seomaticCreator.description }}
{% endif %}

/* THANKS */

Pixel & Tonic - https://pixelandtonic.com

/* SITE */

Standards: HTML5, CSS3
Components: Craft CMS, Yii, PHP, Javascript, SEOmatic