From 96048aeb4ce32c1d441d3fee6447014e9738d480 Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Tue, 10 Jul 2018 19:23:32 +0200 Subject: [PATCH] Add robots.txt and humans.txt files --- build/webpack.dev.conf.js | 10 ++++++++++ build/webpack.prod.conf.js | 10 ++++++++++ humans.txt | 13 +++++++++++++ index.html | 1 + robots.txt | 2 ++ 5 files changed, 36 insertions(+) create mode 100644 humans.txt create mode 100644 robots.txt diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 1a92532..e152b45 100755 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -68,6 +68,16 @@ const devWebpackConfig = merge(baseWebpackConfig, { from: path.resolve(__dirname, '../manifest.webmanifest'), to: config.build.assetsRoot, ignore: ['.*'] + }, + { + from: path.resolve(__dirname, '../humans.txt'), + to: config.build.assetsRoot, + ignore: ['.*'] + }, + { + from: path.resolve(__dirname, '../robots.txt'), + to: config.build.assetsRoot, + ignore: ['.*'] } ]) ] diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index c1ff144..9deb67d 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -119,6 +119,16 @@ const webpackConfig = merge(baseWebpackConfig, { from: path.resolve(__dirname, '../manifest.webmanifest'), to: config.build.assetsRoot, ignore: ['.*'] + }, + { + from: path.resolve(__dirname, '../humans.txt'), + to: config.build.assetsRoot, + ignore: ['.*'] + }, + { + from: path.resolve(__dirname, '../robots.txt'), + to: config.build.assetsRoot, + ignore: ['.*'] } ]) ] diff --git a/humans.txt b/humans.txt new file mode 100644 index 0000000..66cbfe9 --- /dev/null +++ b/humans.txt @@ -0,0 +1,13 @@ +/* TEAM */ + Main dev: Phyks (Lucas Verney) + Contact: phyks+cyclassist[at]phyks.me + Mastodon: https://mastodon.tetaneutral.net/@Phyks + Twitter: @phyksishere + From: Paris + +/* THANKS */ + +/* SITE */ + Language: English / French + Doctype: HTML5 + Framework: Vue + Vuetify for the client app, Python + Bottle for the server part diff --git a/index.html b/index.html index afcd550..6436ead 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ + cyclassist diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..0ad279c --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-Agent: * +Disallow: