From c6ecba5800e2928e29ea2a8469035b1a42ae65dd Mon Sep 17 00:00:00 2001 From: Shaun Kerr Date: Thu, 23 Aug 2018 16:42:10 +1200 Subject: [PATCH] robot uprising + css fuark you --- css/default.css | 6 +++--- humans.txt | 2 ++ robots.txt | 2 ++ site.hs | 3 ++- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 robots.txt diff --git a/css/default.css b/css/default.css index 0e72547..57cad24 100644 --- a/css/default.css +++ b/css/default.css @@ -5,8 +5,8 @@ nav a { text-transform: uppercase; } -a:before { - content: "▻"; +a:after { + content: " ▻"; } a { @@ -26,7 +26,7 @@ a:visited { color: #7FDBFF; } -.navbar a:before { +.navbar a:after { content: ""; } diff --git a/humans.txt b/humans.txt index b3efbc0..018a064 100644 --- a/humans.txt +++ b/humans.txt @@ -8,4 +8,6 @@ my email is s@p7.co.nz and it is functioning at least 30% of the time i made this site with help from the people who made hakyll aidan from my work says that i am his favourite dealer, referring to the data kind +robots (both metaphorically, emotionally, ethically, spiritually and literally), should also be our friends. as such, this sites robot.txt allows unfettered access, so that robots know they are welcome too. + i hope we can be friends diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..eb05362 --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: diff --git a/site.hs b/site.hs index ae4df21..beb8872 100644 --- a/site.hs +++ b/site.hs @@ -12,7 +12,8 @@ main = do setLocaleEncoding utf8 hakyll $ do faviconsRules "icons/favicon.svg" - match "humans.txt" $ do + + match (fromList ["humans.txt", "robots.txt"]) $ do route idRoute compile copyFileCompiler