Add robots.txt and humans.txt files

This commit is contained in:
Lucas Verney 2018-07-10 19:23:32 +02:00
parent 9d6ed7e74c
commit 96048aeb4c
5 changed files with 36 additions and 0 deletions

View File

@ -68,6 +68,16 @@ const devWebpackConfig = merge(baseWebpackConfig, {
from: path.resolve(__dirname, '../manifest.webmanifest'), from: path.resolve(__dirname, '../manifest.webmanifest'),
to: config.build.assetsRoot, to: config.build.assetsRoot,
ignore: ['.*'] ignore: ['.*']
},
{
from: path.resolve(__dirname, '../humans.txt'),
to: config.build.assetsRoot,
ignore: ['.*']
},
{
from: path.resolve(__dirname, '../robots.txt'),
to: config.build.assetsRoot,
ignore: ['.*']
} }
]) ])
] ]

View File

@ -119,6 +119,16 @@ const webpackConfig = merge(baseWebpackConfig, {
from: path.resolve(__dirname, '../manifest.webmanifest'), from: path.resolve(__dirname, '../manifest.webmanifest'),
to: config.build.assetsRoot, to: config.build.assetsRoot,
ignore: ['.*'] ignore: ['.*']
},
{
from: path.resolve(__dirname, '../humans.txt'),
to: config.build.assetsRoot,
ignore: ['.*']
},
{
from: path.resolve(__dirname, '../robots.txt'),
to: config.build.assetsRoot,
ignore: ['.*']
} }
]) ])
] ]

13
humans.txt Normal file
View File

@ -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

View File

@ -3,6 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<link type="text/plain" rel="author" href="humans.txt" />
<link rel="manifest" href="manifest.webmanifest"> <link rel="manifest" href="manifest.webmanifest">
<link rel="shortcut icon" type="image/png" href="static/icon192.png"> <link rel="shortcut icon" type="image/png" href="static/icon192.png">
<title>cyclassist</title> <title>cyclassist</title>

2
robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-Agent: *
Disallow: