From 328b874bdfde143eccab250d0e703c89e7c12d53 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Sat, 5 Dec 2015 18:42:28 +0100 Subject: [PATCH] Add humans.txt --- source/humans.txt.erb | 15 +++++++++++++++ source/layouts/layout.haml | 1 + 2 files changed, 16 insertions(+) create mode 100644 source/humans.txt.erb diff --git a/source/humans.txt.erb b/source/humans.txt.erb new file mode 100644 index 0000000..4523ea5 --- /dev/null +++ b/source/humans.txt.erb @@ -0,0 +1,15 @@ +/* AUTHOR */ + Name: <%= blog_author.name %> + Twitter: @<%= blog_author.twitter %> + From: <%= blog_author.location %> + +/* THANKS */ + + You know who you are. <3 + +/* SITE */ + Last update: <%= Date.today.strftime(blog_settings.date_format) %> + URL: <%= blog_settings.url %> + Language: Deutsch / English + Doctype: HTML5 + Technologies: Middleman, HAML, SCSS diff --git a/source/layouts/layout.haml b/source/layouts/layout.haml index e69cc0e..8901d16 100644 --- a/source/layouts/layout.haml +++ b/source/layouts/layout.haml @@ -33,6 +33,7 @@ = favicon_tag 'images/favicon.ico' = stylesheet_link_tag :application %link{rel: :stylesheet, type: 'text/css', href: '//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400'} + %link{rel: 'author', type: 'text/plain', href: '/humans.txt'} %body{class: "#{page_class} nav-closed"} = partial(:navigation)