function humanstxt_init in Humans.txt 6
Add the <head> link if the user has selected so.
File
- ./
humanstxt.module, line 90 - humanstxt module file.
Code
function humanstxt_init() {
if (variable_get('humanstxt_display_link', FALSE)) {
drupal_add_link(array(
'type' => 'text/plain',
'rel' => 'author',
'href' => url('humans.txt', array(
'absolute' => TRUE,
)),
), TRUE);
}
}